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

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