Q: I have an iframe calling page X, on page X is a div w/ id=test. The value of this test div is \"bubbles\". On the parent page I need to read the value of the div
id=test
As Alex says on the comment above, you will still be blocked by the JavaScript 'same-origin' policy.
If your iframe is on the same domain, then you could try this:
document.getElementById('iframe-id').contentDocument.getElementById('canvas');