tor-browser

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

bug1148973-1.js (356B)


      1 Object.defineProperty(this, "x", { get: decodeURI, configurable: true })
      2 try {
      3    String(b = new Proxy(function() { }, {
      4        get: function(r, z) {
      5            return x[z]
      6        }
      7    }))
      8 } catch (e) {};
      9 var log = "";
     10 evaluate(`
     11 try {
     12    function x() {}
     13    assertEq(String(b), "function () {}");
     14 } catch (e) { log += "e"; }
     15 `);
     16 assertEq(log, "e");