summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1325551.js
blob: 8c4499a01e2b7d9115ced6d24acd8e4f3536ae1d (plain)
1
2
3
4
5
6
7
8
let g = newGlobal({newCompartment: true});
let dbg = new Debugger;
let gw = dbg.addDebuggee(g);
g.eval("function f(){}");
oomTest(() => {
    gw.makeDebuggeeValue(g.f).script.source.sourceMapURL = 'a';
});