tor-browser

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

bug821850.js (280B)


      1 load(libdir + "asserts.js");
      2 
      3 m={}
      4 Object.defineProperty(m, 'p', {value: 3});
      5 assertThrowsInstanceOf(function() {"use strict"; delete m.p;}, TypeError);
      6 
      7 x = new Proxy(m, {})
      8 assertEq(x.p, 3);
      9 assertThrowsInstanceOf(function fun() {"use strict"; return delete x.p; }, TypeError);