tor-browser

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

bug1685925-1.js (290B)


      1 // |jit-test| error: TypeError: get length method
      2 function f(o) {
      3  return o.length;
      4 }
      5 let objects = [
      6  {},
      7  {length: 0},
      8  [],
      9  {x: 0, length: 0},
     10  {x: 0, y: 0, length: 0},
     11  {x: 0, y: 0, z: 0, length: 0},
     12  new Uint32Array(),
     13  Object.create(new Uint8Array()),
     14 ];
     15 objects.forEach(f);