gecko-dev/browser/extensions
Ed Lee 64170b63af Bug 1386445 - Early about:newtab pages are missing message APIs because RemotePages registers too late. r=mossop
This moves AboutNewTab.init from nsBrowserGlue.js handling of "browser-delayed-startup-finished" into aboutNewTabService.js so that when the service is loaded once from the main thread probably by browser.js towards the beginning of _delayedStartup just before potentially calling gBrowser.loadTabs, the service triggers the attaching of RemotePages(about:newtab) before any about:newtab pages load.

Additionally even when RemotePages starts early enough, Activity Stream might not borrow the RemotePages instance early enough to catch the RemotePage:Load message, so to simulate that, RemotePages now remembers when a port has been loaded for consumers to check. Adds tests to confirm the expected properties on the port and value of loaded at the various RemotePage:* messages.

MozReview-Commit-ID: IXJLvFCgbEH

--HG--
extra : rebase_source : 2b53c4e58f4cb8cbd4ea10741f3f609693989010
2017-08-01 12:30:33 -07:00
..
activity-stream Bug 1386445 - Early about:newtab pages are missing message APIs because RemotePages registers too late. r=mossop 2017-08-01 12:30:33 -07:00
aushelper Bug 1329692 - Ship updated Firefox system add-on to change app.update.url preference for Websense with new endpoint version check. r=felipc, r=bsmedberg for data 2017-02-17 14:04:46 -08:00
clicktoplay-rollout Bug 1357517 - Remove Preferences.jsm usage from some browser/extensions/ modules. r=Gijs 2017-07-31 20:18:57 +02:00
e10srollout merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-08-01 11:23:57 +02:00
flyweb Backed out 4 changesets (bug 1365419) for android mochitest failures in test_bug583533.html a=backout 2017-06-01 18:39:21 -07:00
followonsearch Bug 1386658 - Update follow-on search add-on to 0.9.2 - additional domains and logging fix. r=past 2017-08-02 15:42:48 +01:00
formautofill Bug 1387004 - Part 1: Add credit card enabled pref. r=lchang 2017-08-02 11:51:57 +08:00
mortar Bug 1372670 - part 4 - use nsIThreadManager::dispatchToMainThread more from JS; r=florian 2017-06-21 12:59:28 -04:00
onboarding Bug 1377283 - making Close onboarding dialog button accessible. r=gasolin, mossop 2017-08-04 09:34:38 -04:00
pdfjs Bug 1387412 - Update pdf.js to version 1.8.605. r=bdahl 2017-08-04 08:30:45 -04:00
pocket Bug 1386474 - Pocket shouldn't assume that Photon page actions are enabled. r=mixedpuppy 2017-08-01 19:10:34 -07:00
presentation Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu 2017-07-29 20:50:21 +09:00
screenshots Bug 1386457 - Export Screenshots 10.10.0 to Firefox r=mossop 2017-08-01 16:41:03 -07:00
shield-recipe-client Bug 1385702 - Update and clean up close icon styling for photon. r=dao 2017-08-03 17:01:36 +00:00
webcompat Bug 1383567 - Fix web compatibility BUG_COMPONENTs r=miketaylr 2017-07-23 14:20:19 -07:00
webcompat-reporter Bug 1381545 - Send stylo prefs via Report Site Issue. r=Gijs 2017-07-24 18:05:29 -07:00
moz.build Bug 1385797 - Build activity-stream everywhere but keep preffed on only in Nightly. r=mossop 2017-07-25 13:31:22 -07:00