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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 // Binary: cache/js-dbg-64-a3eeee8f7803-linux
     2 // Flags: -m -n
     3 //
     4 var i = 0;
     5 var gTestcases = new Array;
     6 var gTc = gTestcases;
     7 function TestCase(n, d, e, a) {
     8   this.description=d;
     9   gTestcases[gTc++]=this;
    10 }
    11 function writeTestCaseResult( expect, actual, string ) {};
    12 new TestCase;
    13 test();
    14 function test() {
    15   for ( gTc=0 ; ; ) {
    16     i++;
    17     if (i > 20) { break; }
    18     gTestcases[gTc].description+=" )";
    19     gTestcases=[1,];
    20   }
    21 }

mercurial