Commit Graph

12 Commits

Author SHA1 Message Date
Ed Lee
051c3bd94b Bug 1398955 - Include url with RemotePage messages. r=mossop
MozReview-Commit-ID: CkwHOpTAvUw
2017-09-11 15:17:38 -07:00
Ed Lee
ecc50cef5b Bug 1389701 - Newly loaded child RemotePageManager can register pages too late to properly manage created documents. r=mossop
MozReview-Commit-ID: HSxuywFhqmb
2017-08-17 10:08:13 -06:00
ahillier
feaf4a5097 Bug 1390282 - Allow RemotePageManager to accept an array of URLs r=mossop
MozReview-Commit-ID: vTQmUDabHI
2017-08-15 16:05:56 -04:00
Ed Lee
c8a637b8a6 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
2017-08-01 12:30:33 -07:00
Christoph Kerschbaumer
5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Mark Banner
dc46a8fba3 Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop
MozReview-Commit-ID: CiIsUjQzp4D
2016-11-09 22:06:32 +00:00
Mike Conley
314d80c7ce Bug 1220929 - Add test for RemotePage's portsForBrowser. r=Mossop 2015-11-05 10:43:09 -05:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Tim Taubert
87f6117291 Bug 1109875 - Make browser.permanentKey a property of the XUL element instead of a property of the XUL binding r=billm 2015-04-28 18:55:43 +02:00
Dave Townsend
e035eed93b Bug 1068087: Add a simple mechanism for content pages to communicate with chrome. r=mconley 2015-03-10 09:19:17 -07:00