moz-1816158 - tor
-
64b502e0830f3ee36c93d84e9fec74a7da512bad
- 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
-
4d0bea8766708d803842241ec9b7244b1e63c829
- 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