blob: 08514695a572ffa6903a85ff5b906320d1923190 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// |jit-test|
// Exercise finding a DebuggerSource cross compartment wrapper in
// Compartment::findOutgoingEdges()
let g = newGlobal({newCompartment: true});
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 = {}
|