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