moz-1816158 - mullvad
-
0e00f51bf082a1ed72260e82b518af21db3c5a00
- 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
-
c40865397de2d1e33da537bf400ba8e0e2be1982
- 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