Bug 1593708 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

For context, RDM is currently persisting these attributes by overriding the `WebProgressListener` in its [frame content script](https://searchfox.org/mozilla-central/source/devtools/client/responsive/browser/content.js#260). 

Since we're removing the use of the <iframe mozbrowser` as part of the DevTools fission effort, this also means we will removing its injected content frame script. So we need to find another way to persist the document attributes RDM manipulates it's refreshed or navigated. In particular, RDM is using these WebIDL Document extensions to set `inRDMPane` and `screen.orientation`:

- [inRDMPane](https://searchfox.org/mozilla-central/source/dom/webidl/Document.webidl#641)
- [setInRDMPaneOrientation](https://searchfox.org/mozilla-central/source/dom/webidl/Document.webidl#645)
For context, RDM is currently persisting these attributes by overriding the `WebProgressListener` in its [frame content script](https://searchfox.org/mozilla-central/source/devtools/client/responsive/browser/content.js#260). 

Since we're removing the use of the `<iframe mozbrowser` as part of the DevTools fission effort, this also means we will removing its injected content frame script. So we need to find another way to persist the document attributes RDM manipulates it's refreshed or navigated. In particular, RDM is using these WebIDL Document extensions to set `inRDMPane` and `screen.orientation`:

- [inRDMPane](https://searchfox.org/mozilla-central/source/dom/webidl/Document.webidl#641)
- [setInRDMPaneOrientation](https://searchfox.org/mozilla-central/source/dom/webidl/Document.webidl#645)
For context, RDM is currently persisting these attributes by overriding the `WebProgressListener` in its [frame content script](https://searchfox.org/mozilla-central/source/devtools/client/responsive/browser/content.js#260). 

Since we're removing the use of the `<iframe mozbrowser>` as part of the DevTools fission effort, this also means we will removing its injected content frame script. So we need to find another way to persist the document attributes RDM manipulates it's refreshed or navigated. In particular, RDM is using these WebIDL Document extensions to set `inRDMPane` and `screen.orientation`:

- [inRDMPane](https://searchfox.org/mozilla-central/source/dom/webidl/Document.webidl#641)
- [setInRDMPaneOrientation](https://searchfox.org/mozilla-central/source/dom/webidl/Document.webidl#645)
For context, RDM is currently persisting these attributes by overriding the `WebProgressListener` in its [frame content script](https://searchfox.org/mozilla-central/source/devtools/client/responsive/browser/content.js#260). 

Since we're removing the use of the `<iframe mozbrowser>` as part of the DevTools fission effort, this also means we will removing its injected content frame script. So we need to find another way to persist the document attributes RDM manipulates when refreshed or navigated. In particular, RDM is using these WebIDL Document extensions to set `inRDMPane` and `screen.orientation`:

- [inRDMPane](https://searchfox.org/mozilla-central/source/dom/webidl/Document.webidl#641)
- [setInRDMPaneOrientation](https://searchfox.org/mozilla-central/source/dom/webidl/Document.webidl#645)

Back to Bug 1593708 Comment 1