summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1299121.js
blob: 95df524cb0f08c60ce18794c16ad773ab5580b65 (plain)
1
2
3
4
5
6
7
8
9
10
var g = newGlobal({newCompartment: true});
g.parent = this;
g.eval("(" + function() {
    var dbg = new Debugger(parent);
    dbg.onExceptionUnwind = function(frame) {
        frame.eval("h = 3");
    };
} + ")()");
g = function h() { }
g();