You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A-content/domInteracting with the DOM from web contentC-assignedThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.
This should be as easy as getting the document property from the result of GetContentWindow. We also need to check same-origin-ness and return null if they don't match. See the check in handle_load_iframe_url_msg for an example; we should probably make that a utility that can be shared (possibly even in the rust-url library!)
But I cannot pull request it because #3932 is blocking it or, in fact, it's blocking testing my patch.
And if I understand correctly (see discussion in #3939) I don't have to implement cross-origin checks. Right now it'll be safe because getting contentWindow will fail for cross-origin stuff. And I'm implementing it just as returning contentWindow.document.
Yeah, it looks like getting anything non-null for a cross-origin contentWindow will be an involved project. It might be nice to throw a same-origin assertion into the code, just so that we break loudly whenever we end up making it work.
A-content/domInteracting with the DOM from web contentC-assignedThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.
Activity
neojski commentedon Nov 6, 2014
I will work on it.
neojski commentedon Nov 9, 2014
Soo, I have the patch in my branch.
But I cannot pull request it because #3932 is blocking it or, in fact, it's blocking testing my patch.
And if I understand correctly (see discussion in #3939) I don't have to implement cross-origin checks. Right now it'll be safe because getting
contentWindowwill fail for cross-origin stuff. And I'm implementing it just as returningcontentWindow.document.jdm commentedon Nov 9, 2014
Yeah, it looks like getting anything non-null for a cross-origin contentWindow will be an involved project. It might be nice to throw a same-origin assertion into the code, just so that we break loudly whenever we end up making it work.
Add contentDocument support for HTMLIFrameElement. Fixes servo#3808.
Add contentDocument support for HTMLIFrameElement. Fixes servo#3808.
Add contentDocument support for HTMLIFrameElement. Fixes servo#3808.
Add contentDocument support for HTMLIFrameElement. Fixes servo#3808.
Add contentDocument support for HTMLIFrameElement. Fixes servo#3808.
Add contentDocument support for HTMLIFrameElement. Fixes servo#3808.
New commits added.
New commits added.