tor-browser

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

testContinueWithLabel4.js (422B)


      1 // bug 511575
      2 
      3 Function.prototype.X = 42;
      4 
      5 function ownProperties() {
      6    var props = {};
      7    var r = function () {};
      8 
      9    outer:
     10    for (var a in r) {
     11        for (var b in r) {
     12            if (a == b) {
     13                continue outer;
     14            }
     15        }
     16        print("SHOULD NOT BE REACHED");
     17        props[a] = true;
     18    }
     19    return props;
     20 }
     21 
     22 for (var i = 0; i < 12; ++i) {
     23    print(i);
     24    ownProperties();
     25 }