gecko-dev/devtools
Barret Rennie e799890ede Bug 1562821 - Mirror state from the <xul:browser> to the <iframe mozbrowser> when in RDM r=ochameau
As part of bug 1510569, the majority of the `nsIWebProgress` event listeners
have moved from the `WebProgressChild`/`RemoteWebProgress` to the
`BrowserChild`/`BrowserParent`. In responsive design mode, the
`RemoteWebProgress` previously would update the state of the `<iframe
mozbrowser>` with document URI and title which would be mirrored back to the
`<xul:browser>` when leaving RDM. However, the event handlers in the
`BrowserParent` call directly into the `<xul:browser>`, skipping the `<iframe
mozbrowser>` entirely. Therefore, when RDM is shut down, old state will be
mirroed to the `<xul:browser>`, leaving it in an inconsistent state. We now
mirror the state from the `<xul:browser>` to the `<iframe mozbrowser>` with an
`nsIWebProgressListener` so that the `<iframe mozbrowser>` will not clobber the
`<xul:browser>`'s state when leaving RDM.

Differential Revision: https://phabricator.services.mozilla.com/D38918

--HG--
extra : moz-landing-system : lando
2019-07-24 17:00:16 +00:00
..
client Bug 1562821 - Mirror state from the <xul:browser> to the <iframe mozbrowser> when in RDM r=ochameau 2019-07-24 17:00:16 +00:00
docs Bug 1568472 - Add Gitbook hint plugin. r=jdescottes. 2019-07-24 10:38:20 +00:00
platform Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
server Bug 1301529 - Remove X-Frame-Options allow-from. r=ckerschb 2019-07-24 12:23:32 +00:00
shared Bug 1550801 - Replace expected XULDocument with HTMLDocument in devtools tests. r=nchevobbe 2019-07-22 06:34:05 +00:00
startup Bug 1566520 - Ensure DevToolsShim.getToolboxes returns an empty array if devtools are not yet initialized. r=jdescottes 2019-07-18 12:03:23 +00:00
.eslintrc.js Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8 2019-06-28 17:14:01 +02:00
.eslintrc.mochitests.js
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build
templates.mozbuild