caec8eadf94de1a1028c08b72ca34210649755d2
Avoid unregistering the JS Process actor ASAP on DevTools closing as it may throw many exception if any RDP Request or JSProcess Actor query is still pending after the devtools closing. It required some tweaks in the parent process as WatcherActor.conn may now be null because of shifted executions and we weren't correctly unregistering it because of lack of `connectionPrefix`. As well as some tweaks around `sharedData` to force persisting it across processes, otherwise the content process may still hold now destroyed watcher actor sessionData and keep instantiating actor. Last, but not least, because there is some shift in precise execution timings, I had to tweak docshell DOM event listeners as we may leave listeners on docshell's window object when the cleanup method is call after the docshell starts being destroyed and docshell.domWindow is already null. Differential Revision: https://phabricator.services.mozilla.com/D306953
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Firefox is a fast, reliable and private web browser from the non-profit Mozilla organization.
Contributing
To learn how to contribute to Firefox read the Firefox Contributors' Quick Reference document.
We use bugzilla.mozilla.org as our issue tracker, please file bugs there.
Resources
- Firefox Source Docs is our primary documentation repository
- Nightly development builds can be downloaded from Firefox Nightly page
If you have a question about developing Firefox, and can't find the solution on Firefox Source Docs, you can try asking your question on Matrix at chat.mozilla.org in the Introduction channel.
Languages
JavaScript
32.8%
C++
23.6%
HTML
21.5%
C
10.4%
Kotlin
3.5%
Other
7.8%