mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
7153f497a9
This patch remove the usage of `Services.appShell.createWindowlessBrowser` from the webextension target actor (that runs in a child process when the extension is in oop-mode). As a fallback window (needed when an extension doesn't have an extension page yet, e.g. while the extension is being reloaded, or when the extension doesn't have a background page), the actor is going to search for the window related to the XUL browser element created to connect into the extension process. If the extension runs in the child process (e.g. as it currently happens on all platforms supported by Firefox Desktop), the TabParent/TabChild's tabId is used to identify the fallback window. On the contrary, when the extension runs in the parent process (e.g. as it currently happens on Firefox for Android), the XUL browser's ownerGlobal innerWindowID is used to identify the fallback window. Differential Revision: https://phabricator.services.mozilla.com/D8573 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild |