blob: e66939f8175329dd3681e4a0c47541b7d912e7c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// |jit-test|
// Exercise finding a DebuggerSource cross compartment wrapper in
// JSCompartment::findOutgoingEdges()
let g = newGlobal();
let dbg = new Debugger(g);
dbg.onNewScript = function (script) {
var text = script.source.text;
}
g.eval("function f() { function g() {} }");
gczeal(9, 1)
var a = {}
var b = {}
|