Commit Graph
25 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
ahillier 296db2dc37 Bug 1385090 - Pass Remote Pages instance from AboutNewTab on override r=mossop
MozReview-Commit-ID: 7oBsmIUpQXs
2017-08-01 15:08:16 -04:00
Sebastian Hengst 69a44e8b35 Backed out changeset ae8bd889b02d (bug 1385090) for eslint failures in AboutNewTab.jsm and RemotePageManager.jsm. r=backout on a CLOSED TREE 2017-08-01 20:55:03 +02:00
ahillier 703aa965dd Bug 1385090 - Pass Remote Pages instance from AboutNewTab on override r=mossop
MozReview-Commit-ID: 7oBsmIUpQXs
2017-08-01 14:22:40 -04:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
k88hudson 51dfb751c0 Bug 1348124 Update RemotePageManager to expose portId on public interface r=mossop
MozReview-Commit-ID: BYCI9zi6YLh
2017-03-17 12:57:30 -04:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01: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
Jared Wein e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher 2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein 34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -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
Eric Rahm 604dde28cd Bug 1299596 - Handle failure to remove event listener in ChromeMessagePort.destroy. r=mconley
It's possible this._browser is already a dead wrapper when trying to
unregister the event listener. In that case we can carry on with destruction.
2016-09-06 10:33:55 -07:00
Bill McCloskey 531db100ed Bug 1269961 - Remove listeners from RemotePageManager before invoking Unload (r=mconley) 2016-05-04 15:09:50 -07:00
Dave Townsend 7b18d60eed Bug 1229519: Fix toolkit/modules to pass eslint checks. r=mak 2015-12-03 09:58:56 -08:00
Mike Conley ce95194b81 Bug 1220929 - RemotePageManager should let us get all ports for a browser. r=Mossop 2015-11-02 16:03:00 -05:00
Mike Conley 95ea8bca78 Bug 1220929 - RemotePageManager should use documentURI and allow special URLs with query params. r=Mossop 2015-11-02 20:46:37 -05:00
Mike de Boer 6bc7565c57 Bug 1048850 - Part 3: transition from the navigator.mozLoop API to the RemotePageManager API. r=Standard8 2015-11-18 17:09:36 +01: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
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