зеркало из https://github.com/mozilla/gecko-dev.git
bc437d3e44
IsCurrentInnerWindow() should only return true when we are the current inner of our BrowsingContext, which has a longer lifetime than individual GlobalWindowOuter instances. In particular, if our BrowsingContext has no GlobalWindowOuter hanging off it, that means that currently it's hosting an inner window from some other process and we are not the current inner. If it _does_ have a GlobalWindowOuter hanging off it, it's possible that this is not the same as our mOuterWindow, if the BrowsingContext navigated to a different site and then navigated back to our site. Therefore, we need to check that we are the current inner of whatever the BrowsingContext's current GlobalWindowOuter is, if it has one at all. Differential Revision: https://phabricator.services.mozilla.com/D48595 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |