tor-browser

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

bug702003.js (524B)


      1 // Binary: cache/js-dbg-64-50c1bcb49c76-linux
      2 // Flags: -m -n -a
      3 //
      4 
      5 var lfcode = new Array();
      6 lfcode.push("try { \
      7  gczeal(2);\
      8  exitFunc ('test');\
      9  } catch(exc1) {}\
     10 ");
     11 lfcode.push("var summary = 'Foo'; \
     12  var actual = 'No Crash';\
     13  var expect = 'No Crash';\
     14  test();\
     15  function test() {\
     16    try {\
     17      eval('(function(){ <x/>.(yield 4) })().next();');\
     18    }\ catch(ex) { 'Bar'; }\
     19  }\
     20 ");
     21 while (true) {
     22        var code = lfcode.shift();
     23        if (code == undefined) { break; }
     24        evaluate(code);
     25 }