tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1629503-1.js (328B)


      1 // |jit-test| error: TypeError: invalid assignment to const
      2 function f() {
      3    const g = newGlobal({newCompartment: true});
      4    const dbg = new Debugger(g);
      5    g.eval(`function f() {}`);
      6    dbg.onEnterFrame = function(frame) {
      7        [x, dbg] = [];
      8    }
      9    for (var i = 0; i < 5; i++) {
     10        g.eval("f()");
     11    }
     12 }
     13 f();