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
@nox: I talked to @avadacatavra about this at MozAloha, and we agreed to separate out the XOW part (which deals with security) from implementing cross-origin window proxies (which deals with the inter-thread communication caused by the WindowProxy and the Window living in different script threads).
There's two different things here, the XOW needs to point to an object. In the case where the Window is similar-origin, it can be the real Window object, but in the non-similar-object case, the Window is in another script thread, so we need an object to represent the cross-origin window,.
Activity
nox commentedon Jan 26, 2017
#2382
asajeffrey commentedon Jan 26, 2017
@nox: I talked to @avadacatavra about this at MozAloha, and we agreed to separate out the XOW part (which deals with security) from implementing cross-origin window proxies (which deals with the inter-thread communication caused by the
WindowProxyand theWindowliving in different script threads).nox commentedon Jan 26, 2017
Aren't cross-origin window proxies XOWs?
asajeffrey commentedon Jan 26, 2017
There's two different things here, the XOW needs to point to an object. In the case where the
Windowis similar-origin, it can be the realWindowobject, but in the non-similar-object case, theWindowis in another script thread, so we need an object to represent the cross-origin window,.asajeffrey commentedon Mar 2, 2017
Will be closed when #15536 lands.
cbrewster commentedon May 3, 2017
#15536 has merged. Can this be closed?
asajeffrey commentedon May 3, 2017
Yes it can.
jdm commentedon May 3, 2017
We still return null for iframe.contentWindow for cross-but-similar-origin iframes.