summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/fields/bug1703782.js
blob: 20ef1a3586cbbc63bcb9973f14c6ec06fb12460f (plain)
1
2
3
4
5
6
7
8
9
10
11
// Bug 1703782 - Assertion failure: this->is<T>(), at vm/JSObject.h:467
var g7 = newGlobal({ newCompartment: true });
g7.parent = this;
g7.eval(`
  Debugger(parent).onEnterFrame = function(frame) {
    let v = frame.environment.getVariable('var0');
  };
`);
class C144252 {
    static #x;
}