gecko-dev/browser
Rob Wu ff65d297cc Bug 1287007 - Move extension context initialization to ExtensionContent r=billm
This is a simple move of ExtensionContext creation logic to
ExtensionChild.

Before the change, ExtensionContext was initialized as follows:

1. (ext-backgroundPage.js) Create background page
2. (Extension.jsm) document-element-inserted observed.
3. (Extension.jsm) new ExtensionContext + unload observer.

After this commit:

1. (ext-backgroundPage.js) Create background page
2. (ext-backgroundPage.js) emit extension-browser-inserted event
3. (Extension.jsm) Pass global to ExtensionContent + unload listener.
4. (ExtensionContent.jsm) document-element-inserted observed.
5. (ExtensionChild.jsm) new ExtensionContext

The next step is to use frame scripts and synchronize state.

MozReview-Commit-ID: K6mPdq7KQ2T

--HG--
extra : rebase_source : c742dfe89646d6717da134c7408aa5a066107c66
2016-09-05 23:50:11 -07:00
..
app Merge m-c to autoland, a=merge 2016-10-17 15:37:57 -07:00
base Bug 1309652, use computed display when determining option display values, r=felipe 2016-10-21 15:55:25 -04:00
branding Bug 1309668 - Change app update mar download throttling on release to 0. r=felipc 2016-10-12 12:17:03 -07:00
components Bug 1287007 - Move extension context initialization to ExtensionContent r=billm 2016-09-05 23:50:11 -07:00
config Bug 1311431 - Unset CC/CXX for Mac artifact mozconfigs. r=armenzg 2016-10-20 21:43:11 -07:00
docs Bug 1277810 - Part 1 - Restructure Telemetry client documentation. r=dexter, f=chutten 2016-08-09 13:52:27 +02:00
experiments Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
extensions Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
fonts Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
installer Bug 1310910 - Remove ChromeNotifications; r=baku 2016-10-18 09:41:56 -04:00
locales Bug 1311866 - Update pdf.js to version 1.6.263. r=bdahl 2016-10-20 18:50:37 -04:00
modules Bug 1311315 - General small fixes for no-undef eslint issues in browser/. r=jaws 2016-10-18 12:34:35 +01:00
themes merge fx-team to mozilla-central a=merge 2016-10-21 16:56:14 +02:00
tools/mozscreenshots Bug 1312278 - Turn on no-unused-vars for browser/tools/mozscreenshots. r=MattN 2016-10-23 18:00:20 +01:00
.eslintrc.js Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop 2016-10-18 08:38:10 +01:00
app-rules.mk
app.mozbuild
build.mk Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher 2016-08-08 11:48:49 -04:00
confvars.sh Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp 2016-08-31 19:28:29 -04:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 1240134 - Incorporate the interfaces.xpt from downloaded artifacts instead of building XPIDL during an artifact build. r=glandium 2016-08-17 15:02:31 -07:00
moz.configure Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00