Debian Codegraph @

js/src/jit-test/tests/gc/bug-1136597.js

raw
1 // |jit-test| error:ReferenceError
2 var evalInFrame = (function (global) {
3 var dbgGlobal = newGlobal({newCompartment: true});
4 var dbg = new dbgGlobal.Debugger();
5 return function evalInFrame(upCount, code) {
6 dbg.addDebuggee(global);
7 };
8 })(this);
9 var gTestcases = new Array();
10 var gTc = gTestcases.length;
11 function TestCase() {
12 return gTestcases[gTc++] = this;
13 }
14 function checkCollation(extensionCoValue, usageValue) {
15 var collator = new Intl.Collator(["de-DE"]);
16 collator.resolvedOptions().collation;
17 }
18 checkCollation(undefined, "sort");
19 checkCollation();
20 for ( addpow = 0; addpow < 33; addpow++ ) {
21 new TestCase();
22 }
23 evalInFrame(0, "i(true)", true);
24 gc(3, 'shrinking')
25 eval("gc(); h = g1");