gecko-dev/devtools
Luca Greco 7153f497a9 Bug 1498293 - Ensure the webextension fallback window has a TabChild actor in content. r=ochameau
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
2018-11-15 19:00:44 +00:00
..
client Bug 1498293 - Ensure the webextension fallback window has a TabChild actor in content. r=ochameau 2018-11-15 19:00:44 +00:00
docs Bug 1506549 - Stop returning the actor from Pool.manage. r=yulia 2018-11-15 10:22:58 +00:00
platform Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop 2018-10-19 12:55:39 +00:00
server Bug 1498293 - Ensure the webextension fallback window has a TabChild actor in content. r=ochameau 2018-11-15 19:00:44 +00:00
shared Bug 1506548 - Return WorkerTargetFront from listWorkers instead of form. r=yulia 2018-11-15 10:23:50 +00:00
startup Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-08 11:39:58 +02:00
.eslintrc.js Bug 1492510 - Deleting obsolete reference from eslintrc. r=sole 2018-09-24 12:34:12 +00:00
.eslintrc.mochitests.js Backed out changeset d8ff6c1c6f3a (bug 1471764) for failing devtools' browser_markup_flex_display_badge.js in beta simulations. a=backout 2018-09-04 18:21:03 +03:00
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build Bug 1490575 - Remove Mulet comments from build files. r=froydnj 2018-09-11 23:07:32 -07:00
templates.mozbuild