summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1308578.js
blob: c44b546a943a5395ec27e93d10a5f2d5df9f946e (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error: ReferenceError

g = newGlobal();
g.parent = this;
g.eval("new Debugger(parent).onExceptionUnwind = function () {}");
a = new class extends Array {
    constructor() {
        for (;; ([] = p)) {}
    }
}