tor-browser

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

bug830049.js (340B)


      1 // |jit-test| error: TypeError
      2 load(libdir + "immutable-prototype.js");
      3 
      4 Object.defineProperty(Object.prototype, "name",
      5                      { set(v) { throw new TypeError("hit name"); },
      6                        enumerable: true,
      7                        configurable: true });
      8 
      9 function TestCase(n) {
     10    this.name = n;
     11 }
     12 new TestCase();