summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1325551.js
blob: 700f61daf84b033678ceb097da887563dbf0059f (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| skip-if: !('oomTest' in this)

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';
});