js/src/jit-test/tests/basic/bug728190.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 // |jit-test| slow;
     3 function TestCase(n, d, e, a) {}
     4 var lfcode = new Array();
     5 lfcode.push("");
     6 lfcode.push("\
     7   var summary = 'foo';\
     8   test();\
     9   function test() {\
    10     test(\"TEST-UNEXPECTED-FAIL | TestPerf | \" + summary);\
    11   }\
    12 ");
    13 lfcode.push("gczeal(2);");
    14 lfcode.push("\
    15   new TestCase(TestFunction_3( \"P\", \"A\", \"S\", \"S\" ) +\"\");\
    16   new TestCase(TestFunction_4( \"F\", \"A\", (\"length\"), \"L\" ) +\"\");\
    17   function TestFunction_3( a, b, c, d, e ) {\
    18     TestFunction_3(arguments);\
    19   }\
    20 ");
    21 while (true) {
    22         var file = lfcode.shift(); if (file == undefined) { break; }
    23         try { evaluate(file); } catch (lfVare) {}
    24 }

mercurial