summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1591342.js
blob: 37c7b9944be1273522724d0b2c459043b104b976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| error: Permission denied to access object

// jsfunfuzz-generated
newGlobal({ sameCompartmentAs: this });
nukeAllCCWs();
// Adapted from randomly chosen testcase: js/src/jit-test/tests/debug/clear-old-analyses-02.js
var g = newGlobal({
    newCompartment: true
});
var dbg = Debugger();
gw = dbg.addDebuggee(g);
g.eval("" + function fib() {});
gw.makeDebuggeeValue(g.fib).script.setBreakpoint(0, {});