Bug 1680241 - Disable GC zeal in script-source-extent.js test r=tcampbell

Differential Revision: https://phabricator.services.mozilla.com/D98470
This commit is contained in:
Jon Coppeard 2020-12-02 15:29:24 +00:00
Родитель 4184bca3d4
Коммит ec37b8925b
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -13,6 +13,9 @@
let dbg = new Debugger();
let debuggeeCompartment = newGlobal({newCompartment: true});
// Some static class field initializer lambdas may be thrown away by GC.
gczeal(0);
function getScriptSourceExtent(source) {
// NOTE: We will _evaluate_ the source below which may introduce dynamic
// scripts which are also reported. This is intended so that we may test