moz-1816158 - mullvad
-
2f88a2bc8222b5e49135cc038ebf78870aa348c1
- Jon Coppeard
- 2023-02-14 10:32:47 +0000
- Bug 1816158 - Part 1: Disallow GC while iterating global's debugger vector r=sfink
- GC can mutate this vector so don't allow that while we are iterating. I think it would be safe to use index-based iteration but it's safer to just ban it entirely. This fixes the crash produced by the testcase. Differential Revision: https://phabricator.services.mozilla.com/D169701
-
e8465d3de97022539e166469b004f1db8ed2f597
- Jon Coppeard
- 2023-02-14 10:32:47 +0000
- Bug 1816158 - Part 2: Require no GC when giving out references to the realm's debugger vector r=sfink
- To prevent any other instances of this problme we can update the getDebuggers() methods on the global and the realm to require no GC. Depends on D169701 Differential Revision: https://phabricator.services.mozilla.com/D169702