js/src/jit-test/tests/auto-regress/bug729571.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 // Binary: cache/js-dbg-64-ca97bbcd6b90-linux
     2 // Flags: --ion-eager
     3 //
     5 gczeal(4);
     6 function TestCase(n, d, e, a) {}
     7 TestCase.prototype.dump = function () {};
     8 TestCase.prototype.testFailed = (function TestCase_testFailed() {
     9 	});
    10   try  {
    11     try    {    }    catch(ex1)    {    }
    12   }  catch(ex)  {  }
    13   options.initvalues  = {};
    14   var optionNames = options().split(',');
    15   var optionsframe = {};
    16   try  {
    17     optionsClear();
    18   }  catch(ex)  {  }
    19 var lfcode = new Array();
    20 lfcode.push("\
    21   try {  } catch (exception) {  }\
    22     try {    } catch (exception) {    }\
    23     try {    } catch (exception) {    }\
    24     try {    } catch (actual) {    }\
    25         var props = {};\
    26   function test(which) {\
    27     var g = newGlobal();\
    28     function addDebugger(g, i) {\
    29         var dbg = Debugger(g);\
    30         dbg.onDebuggerStatement = function (frame) { };\
    31     }\
    32     for (var i = 0; i < 3; i++) {\
    33         addDebugger(g, i);\
    34     }\
    35     g.eval(\"debugger;\");\
    36 }\
    37 for (var j = 0; j < 3; j++) test(j);\
    38 ");
    39 while (true) {
    40 	var file = lfcode.shift(); if (file == undefined) { break; }
    41 	try { evaluate(file); } catch (lfVare) { }
    42 }

mercurial