tor-browser

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

bug942390.js (392B)


      1 load(libdir + "immutable-prototype.js");
      2 
      3 var count = 0;
      4 if (globalPrototypeChainIsMutable()) {
      5    Object.defineProperty(__proto__, "__iterator__", {
      6        get: (function() {
      7            count++;
      8        })
      9    });
     10 } else {
     11    count = 7;
     12 }
     13 
     14 if (globalPrototypeChainIsMutable())
     15    __proto__ = (function(){});
     16 
     17 for (var m = 0; m < 7; ++m) {
     18    for (var a in 6) {}
     19 }
     20 
     21 assertEq(count, 7);