summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug973566.js
blob: 5417235d93e309dd5a41f8c9d505a5f41126b442 (plain)
1
2
3
4
5
6
7
Object.prototype[1] = 'peek';
var g = newGlobal({newCompartment: true});
var dbg = Debugger(g);
dbg.onEnterFrame = function (frame) {
    var lines = frame.script.getAllOffsets();
};
g.eval("1;");