Bug 1346234 - Part 25: Replace remaining startTest calls with printBugNumber. r=sfink
authorAndré Bargull <andre.bargull@gmail.com>
Tue, 31 Oct 2017 08:02:58 -0700
changeset 689730 14a200037b6cbb60cb746a868fe926eff0cb3316
parent 689729 caabba869c64827a89a5dedb17e6cede8e090b90
child 689731 cc87782e222a78eb1617c39eaa5c31976eba2b7d
push id87097
push userdholbert@mozilla.com
push dateTue, 31 Oct 2017 22:39:07 +0000
reviewerssfink
bugs1346234
milestone58.0a1
Bug 1346234 - Part 25: Replace remaining startTest calls with printBugNumber. r=sfink
js/src/tests/ecma/Array/15.4.4.4-1.js
js/src/tests/ecma/Date/15.9.4.2-1.js
js/src/tests/ecma/ExecutionContexts/10.1.3-1.js
js/src/tests/ecma/ExecutionContexts/10.1.3-2.js
js/src/tests/ecma/ExecutionContexts/10.1.3.js
js/src/tests/ecma/Expressions/11.4.6.js
js/src/tests/ecma/Expressions/11.4.7-01.js
js/src/tests/ecma/Expressions/11.4.7-02.js
js/src/tests/ecma/Expressions/11.5.2.js
js/src/tests/ecma/Expressions/11.5.3.js
js/src/tests/ecma/Expressions/11.9.1.js
js/src/tests/ecma/Expressions/11.9.2.js
js/src/tests/ecma/Expressions/11.9.3.js
js/src/tests/ecma/FunctionObjects/15.3.5.1.js
js/src/tests/ecma/LexicalConventions/7.7.3-1.js
js/src/tests/ecma/LexicalConventions/7.7.3-2.js
js/src/tests/ecma/Math/15.8.2.1.js
js/src/tests/ecma/Math/15.8.2.10.js
js/src/tests/ecma/Math/15.8.2.11.js
js/src/tests/ecma/Math/15.8.2.12.js
js/src/tests/ecma/Math/15.8.2.13.js
js/src/tests/ecma/Math/15.8.2.15.js
js/src/tests/ecma/Math/15.8.2.4.js
js/src/tests/ecma/Math/15.8.2.5.js
js/src/tests/ecma/String/15.5.4.6-2.js
js/src/tests/ecma/TypeConversion/9.3.1-1.js
js/src/tests/ecma/TypeConversion/9.3.1-3.js
js/src/tests/ecma/template.js
js/src/tests/ecma_2/Exceptions/exception-007.js
js/src/tests/ecma_2/Exceptions/exception-009.js
js/src/tests/ecma_2/Exceptions/expression-006.js
js/src/tests/ecma_2/Exceptions/expression-012.js
js/src/tests/ecma_2/Exceptions/expression-013.js
js/src/tests/ecma_2/Exceptions/expression-014.js
js/src/tests/ecma_2/Exceptions/expression-019.js
js/src/tests/ecma_2/Exceptions/function-001.js
js/src/tests/ecma_2/RegExp/multiline-001.js
js/src/tests/ecma_2/RegExp/octal-001.js
js/src/tests/ecma_2/RegExp/octal-002.js
js/src/tests/ecma_2/RegExp/octal-003.js
js/src/tests/ecma_2/RegExp/properties-002.js
js/src/tests/ecma_2/RegExp/regexp-enumerate-001.js
js/src/tests/ecma_2/RegExp/regress-001.js
js/src/tests/ecma_2/Statements/dowhile-005.js
js/src/tests/ecma_2/Statements/forin-001.js
js/src/tests/ecma_2/Statements/if-001.js
js/src/tests/ecma_2/Statements/switch-001.js
js/src/tests/ecma_2/Statements/switch-004.js
js/src/tests/ecma_2/Statements/try-003.js
js/src/tests/ecma_2/Statements/try-012.js
js/src/tests/ecma_2/Statements/while-004.js
js/src/tests/ecma_2/String/match-004.js
js/src/tests/ecma_2/instanceof/instanceof-003.js
js/src/tests/ecma_2/instanceof/regress-7635.js
js/src/tests/ecma_2/template.js
js/src/tests/js1_1/regress/function-001.js
js/src/tests/js1_2/Array/splice1.js
js/src/tests/js1_2/Array/splice2.js
js/src/tests/js1_2/regexp/RegExp_dollar_number.js
js/src/tests/js1_2/regexp/control_characters.js
js/src/tests/js1_2/regexp/regress-6359.js
js/src/tests/js1_2/regexp/regress-9141.js
js/src/tests/js1_2/regress/regress-7703.js
js/src/tests/js1_2/statements/switch.js
js/src/tests/js1_2/statements/switch2.js
js/src/tests/js1_3/Script/function-002.js
js/src/tests/js1_3/Script/in-001.js
js/src/tests/js1_3/Script/new-001.js
js/src/tests/js1_3/Script/switch-001.js
js/src/tests/js1_3/regress/function-002.js
js/src/tests/js1_3/regress/in-001.js
js/src/tests/js1_3/regress/new-001.js
js/src/tests/js1_3/regress/switch-001.js
js/src/tests/js1_4/Eval/eval-001.js
js/src/tests/js1_4/Eval/eval-002.js
js/src/tests/js1_4/Eval/eval-003.js
js/src/tests/js1_4/Functions/function-001.js
js/src/tests/js1_4/Regress/function-001.js
js/src/tests/js1_4/Regress/function-002.js
js/src/tests/js1_4/Regress/function-003.js
js/src/tests/js1_4/Regress/function-004-n.js
js/src/tests/js1_4/Regress/regress-7224.js
js/src/tests/js1_4/Regress/toString-001-n.js
--- a/js/src/tests/ecma/Array/15.4.4.4-1.js
+++ b/js/src/tests/ecma/Array/15.4.4.4-1.js
@@ -52,17 +52,17 @@
    implementation does not delete uninitialzed indices.
 
    Author:             christine@netscape.com
    Date:               7 october 1997
 */
 var SECTION = "15.4.4.4-1";
 var VERSION = "ECMA_1";
 var BUGNUMBER="123724";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " Array.prototype.reverse()");
 
 var ARR_PROTOTYPE = Array.prototype;
 
 new TestCase( SECTION,
 	      "Array.prototype.reverse.length",          
 	      0,     
--- a/js/src/tests/ecma/Date/15.9.4.2-1.js
+++ b/js/src/tests/ecma/Date/15.9.4.2-1.js
@@ -20,17 +20,17 @@
  *  Author:             christine@netscape.com
  */
 
 var SECTION = "15.9.4.2-1";       // provide a document reference (ie, ECMA section)
 var VERSION = "ECMA"; // Version of JavaScript or ECMA
 var TITLE   = "Regression Test for Date.parse";       // Provide ECMA section title or a description
 var BUGNUMBER = "http://bugzilla.mozilla.org/show_bug.cgi?id=4088";     // Provide URL to bugsplat or bugzilla report
 
-startTest();               // leave this alone
+printBugNumber(BUGNUMBER);
 
 AddTestCase( "new Date('1/1/1999 12:30 AM').toString()",
 	     new Date(1999,0,1,0,30).toString(),
 	     new Date('1/1/1999 12:30 AM').toString() );
 
 AddTestCase( "new Date('1/1/1999 12:30 PM').toString()",
 	     new Date( 1999,0,1,12,30 ).toString(),
 	     new Date('1/1/1999 12:30 PM').toString() );
--- a/js/src/tests/ecma/ExecutionContexts/10.1.3-1.js
+++ b/js/src/tests/ecma/ExecutionContexts/10.1.3-1.js
@@ -26,17 +26,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 
 var SECTION = "10.1.3-1";
 var VERSION = "ECMA_1";
 var TITLE   = "Variable Instantiation:  Formal Parameters";
 var BUGNUMBER="104191";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var myfun1 = new Function( "a", "a", "return a" );
 var myfun2 = new Function( "a", "b", "a", "return a" );
 
 function myfun3(a, b, a) {
   return a;
--- a/js/src/tests/ecma/ExecutionContexts/10.1.3-2.js
+++ b/js/src/tests/ecma/ExecutionContexts/10.1.3-2.js
@@ -12,17 +12,17 @@
    Author:             mozilla@florian.loitsch.com
    Date:               27 July 2005
 */
 
 var SECTION = "10.1.3-2";
 var VERSION = "ECMA_1";
 var TITLE   = "Variable Instantiation:  Function Declarations";
 var BUGNUMBER="299639";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 function f(g)
 {
   function g() {
     return "g";
   };
--- a/js/src/tests/ecma/ExecutionContexts/10.1.3.js
+++ b/js/src/tests/ecma/ExecutionContexts/10.1.3.js
@@ -11,17 +11,17 @@
    Author:             christine@netscape.com
    Date:               11 september 1997
 */
 
 var SECTION = "10.1.3";
 var VERSION = "ECMA_1";
 var TITLE   = "Variable instantiation";
 var BUGNUMBER = "20256";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
    
 // overriding a variable or function name with a function should succeed
     
 new TestCase(SECTION,
 	     "function t() { return \"first\" };" +
--- a/js/src/tests/ecma/Expressions/11.4.6.js
+++ b/js/src/tests/ecma/Expressions/11.4.6.js
@@ -11,17 +11,17 @@
    Author:             christine@netscape.com
    Date:               7 july 1997
 */
 
 var SECTION = "11.4.6";
 var VERSION = "ECMA_1";
 var BUGNUMBER="77391";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " Unary + operator");
 
 new TestCase( SECTION,  "+('')",           0,      +("") );
 new TestCase( SECTION,  "+(' ')",          0,      +(" ") );
 new TestCase( SECTION,  "+(\\t)",          0,      +("\t") );
 new TestCase( SECTION,  "+(\\n)",          0,      +("\n") );
 new TestCase( SECTION,  "+(\\r)",          0,      +("\r") );
--- a/js/src/tests/ecma/Expressions/11.4.7-01.js
+++ b/js/src/tests/ecma/Expressions/11.4.7-01.js
@@ -11,17 +11,17 @@
    Author:             christine@netscape.com
    Date:               7 july 1997
 */
 
 var SECTION = "11.4.7";
 var VERSION = "ECMA_1";
 var BUGNUMBER="77391";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " Unary + operator");
 
 new TestCase( SECTION,  "-('')",           -0,      -("") );
 new TestCase( SECTION,  "-(' ')",          -0,      -(" ") );
 new TestCase( SECTION,  "-(\\t)",          -0,      -("\t") );
 new TestCase( SECTION,  "-(\\n)",          -0,      -("\n") );
 new TestCase( SECTION,  "-(\\r)",          -0,      -("\r") );
--- a/js/src/tests/ecma/Expressions/11.4.7-02.js
+++ b/js/src/tests/ecma/Expressions/11.4.7-02.js
@@ -10,17 +10,17 @@
  *  Description:        ecma 11.4.7
  */
 
 var SECTION = "11.4.7";
 var VERSION = "ECMA";
 var TITLE   = "Unary - Operator";
 var BUGNUMBER = "432881";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 test_negation(0, -0.0);
 test_negation(-0.0, 0);
 test_negation(1, -1);
 test_negation(1.0/0.0, -1.0/0.0);
 test_negation(-1.0/0.0, 1.0/0.0);
 
 //1073741824 == (1 << 30)
--- a/js/src/tests/ecma/Expressions/11.5.2.js
+++ b/js/src/tests/ecma/Expressions/11.5.2.js
@@ -34,17 +34,17 @@
    sign. The ECMAScript language requires support of gradual underflow as defined by IEEE 754.
 
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "11.5.2";
 var VERSION = "ECMA_1";
 var BUGNUMBER="111202";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " Applying the / operator");
 
 // if either operand is NaN, the result is NaN.
 
 new TestCase( SECTION,    "Number.NaN / Number.NaN",    Number.NaN,     Number.NaN / Number.NaN );
 new TestCase( SECTION,    "Number.NaN / 1",             Number.NaN,     Number.NaN / 1 );
 new TestCase( SECTION,    "1 / Number.NaN",             Number.NaN,     1 / Number.NaN );
--- a/js/src/tests/ecma/Expressions/11.5.3.js
+++ b/js/src/tests/ecma/Expressions/11.5.3.js
@@ -36,17 +36,17 @@
    possible without exceeding the magnitude of the true mathematical quotient of n and d.
 
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "11.5.3";
 var VERSION = "ECMA_1";
 var BUGNUMBER="111202";
-startTest();
+printBugNumber(BUGNUMBER);
 
 
 writeHeaderToLog( SECTION + " Applying the % operator");
 
 // if either operand is NaN, the result is NaN.
 
 new TestCase( SECTION,    "Number.NaN % Number.NaN",    Number.NaN,     Number.NaN % Number.NaN );
 new TestCase( SECTION,    "Number.NaN % 1",             Number.NaN,     Number.NaN % 1 );
--- a/js/src/tests/ecma/Expressions/11.9.1.js
+++ b/js/src/tests/ecma/Expressions/11.9.1.js
@@ -19,17 +19,17 @@
    5.  Perform the comparison Result(4) == Result(2). (See section 11.9.3)
    6.  Return Result(5).
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "11.9.1";
 var VERSION = "ECMA_1";
 var BUGNUMBER="77391";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " The equals operator ( == )");
 
 // type x and type y are the same.  if type x is undefined or null, return true
 
 new TestCase( SECTION,    "void 0 = void 0",        true,   void 0 == void 0 );
 new TestCase( SECTION,    "null == null",           true,   null == null );
 
--- a/js/src/tests/ecma/Expressions/11.9.2.js
+++ b/js/src/tests/ecma/Expressions/11.9.2.js
@@ -19,17 +19,17 @@
    5.  Perform the comparison Result(4) == Result(2). (See section 11.9.3)
    6.  Return Result(5).
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "11.9.2";
 var VERSION = "ECMA_1";
 var BUGNUMBER="77391";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " The equals operator ( == )");
 
 // type x and type y are the same.  if type x is undefined or null, return true
 
 new TestCase( SECTION,    "void 0 == void 0",        false,   void 0 != void 0 );
 new TestCase( SECTION,    "null == null",           false,   null != null );
 
--- a/js/src/tests/ecma/Expressions/11.9.3.js
+++ b/js/src/tests/ecma/Expressions/11.9.3.js
@@ -19,17 +19,17 @@
    5.  Perform the comparison Result(4) == Result(2). (See section 11.9.3)
    6.  Return Result(5).
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "11.9.3";
 var VERSION = "ECMA_1";
 var BUGNUMBER="77391";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " The equals operator ( == )");
 
 // type x and type y are the same.  if type x is undefined or null, return true
 
 new TestCase( SECTION,    "void 0 = void 0",        true,   void 0 == void 0 );
 new TestCase( SECTION,    "null == null",           true,   null == null );
 
--- a/js/src/tests/ecma/FunctionObjects/15.3.5.1.js
+++ b/js/src/tests/ecma/FunctionObjects/15.3.5.1.js
@@ -23,17 +23,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 
 var SECTION = "15.3.5.1";
 var VERSION = "ECMA_1";
 var TITLE   = "Function.length";
 var BUGNUMBER="104204";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var f = new Function( "a","b", "c", "return f.length");
 
 new TestCase( SECTION,
 	      'var f = new Function( "a","b", "c", "return f.length"); f()',
 	      3,
--- a/js/src/tests/ecma/LexicalConventions/7.7.3-1.js
+++ b/js/src/tests/ecma/LexicalConventions/7.7.3-1.js
@@ -21,17 +21,17 @@
    Date:               12 June 1998
 */
 
 var SECTION = "7.7.3-1";
 var VERSION = "ECMA_1";
 var TITLE   = "Numeric Literals";
 var BUGNUMBER="122877";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase( SECTION,
 	      "0x12345678",
 	      305419896,
 	      0x12345678 );
 
--- a/js/src/tests/ecma/LexicalConventions/7.7.3-2.js
+++ b/js/src/tests/ecma/LexicalConventions/7.7.3-2.js
@@ -26,17 +26,17 @@
    Date:               15 june 1998
 
 */
 var SECTION = "7.7.3-2";
 var VERSION = "ECMA_1";
 var TITLE   = "Numeric Literals";
 var BUGNUMBER="122884";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase( SECTION,
 	      "9",
 	      9,
 	      9 );
 
--- a/js/src/tests/ecma/Math/15.8.2.1.js
+++ b/js/src/tests/ecma/Math/15.8.2.1.js
@@ -15,17 +15,17 @@
    -   if x is -Infinity, result is +Infinity
    Author:             christine@netscape.com
    Date:               7 july 1997
 */
 var SECTION = "15.8.2.1";
 var VERSION = "ECMA_1";
 var TITLE   = "Math.abs()";
 var BUGNUMBER = "77391";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase( SECTION,  
 	      "Math.abs.length",
 	      1,
               Math.abs.length );
 
--- a/js/src/tests/ecma/Math/15.8.2.10.js
+++ b/js/src/tests/ecma/Math/15.8.2.10.js
@@ -19,17 +19,17 @@
    Date:               7 july 1997
 */
 
 var SECTION = "15.8.2.10";
 var VERSION = "ECMA_1";
 var TITLE   = "Math.log(x)";
 var BUGNUMBER = "77391";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 
 new TestCase( SECTION,
 	      "Math.log.length",
 	      1,
 	      Math.log.length );
--- a/js/src/tests/ecma/Math/15.8.2.11.js
+++ b/js/src/tests/ecma/Math/15.8.2.11.js
@@ -20,17 +20,17 @@
    Date:               7 july 1997
 */
 
 var SECTION = "15.8.2.11";
 var VERSION = "ECMA_1";
 var TITLE   = "Math.max(x, y)";
 var BUGNUMBER="76439";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase( SECTION,
 	      "Math.max.length",
 	      2,
 	      Math.max.length );
 
--- a/js/src/tests/ecma/Math/15.8.2.12.js
+++ b/js/src/tests/ecma/Math/15.8.2.12.js
@@ -21,17 +21,17 @@
 */
 
 
 var SECTION = "15.8.2.12";
 var VERSION = "ECMA_1";
 var TITLE   = "Math.min(x, y)";
 var BUGNUMBER="76439";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase( SECTION,
 	      "Math.min.length",
 	      2,
 	      Math.min.length );
 
--- a/js/src/tests/ecma/Math/15.8.2.13.js
+++ b/js/src/tests/ecma/Math/15.8.2.13.js
@@ -14,17 +14,17 @@
    Date:               9 july 1997
 */
 
 var SECTION = "15.8.2.13";
 var VERSION = "ECMA_1";
 var TITLE   = "Math.pow(x, y)";
 var BUGNUMBER="77141";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase( SECTION,
 	      "Math.pow.length",
 	      2,
 	      Math.pow.length );
 
--- a/js/src/tests/ecma/Math/15.8.2.15.js
+++ b/js/src/tests/ecma/Math/15.8.2.15.js
@@ -36,17 +36,17 @@
 
 var SECTION = "15.8.2.15";
 var VERSION = "ECMA_1";
 var TITLE   = "Math.round(x)";
 var BUGNUMBER="331411";
 
 var EXCLUDE = "true";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase( SECTION,
 	      "Math.round.length",
 	      1,
 	      Math.round.length );
 
--- a/js/src/tests/ecma/Math/15.8.2.4.js
+++ b/js/src/tests/ecma/Math/15.8.2.4.js
@@ -20,17 +20,17 @@
 
 */
 
 var SECTION = "15.8.2.4";
 var VERSION = "ECMA_1";
 var TITLE   = "Math.atan()";
 var BUGNUMBER="77391";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase( SECTION,
 	      "Math.atan.length",
 	      1,
 	      Math.atan.length );
 
--- a/js/src/tests/ecma/Math/15.8.2.5.js
+++ b/js/src/tests/ecma/Math/15.8.2.5.js
@@ -13,17 +13,17 @@
    Date:               7 july 1997
 
 */
 var SECTION = "15.8.2.5";
 var VERSION = "ECMA_1";
 var TITLE   = "Math.atan2(x,y)";
 var BUGNUMBER="76111";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase( SECTION,
 	      "Math.atan2.length",
 	      2,
 	      Math.atan2.length );
 
--- a/js/src/tests/ecma/String/15.5.4.6-2.js
+++ b/js/src/tests/ecma/String/15.5.4.6-2.js
@@ -49,17 +49,17 @@
    The length property of the indexOf method is 1
    *
    */
 var SECTION = "15.5.4.6-2";
 var VERSION = "ECMA_1";
 var TITLE   = "String.protoype.indexOf";
 var BUGNUMBER="105721";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 
 // the following test regresses http://scopus/bugsplat/show_bug.cgi?id=105721
 
 // regress http://scopus/bugsplat/show_bug.cgi?id=105721
 
--- a/js/src/tests/ecma/TypeConversion/9.3.1-1.js
+++ b/js/src/tests/ecma/TypeConversion/9.3.1-1.js
@@ -24,17 +24,17 @@
    Date:               10 july 1997
 
 */
 var SECTION = "9.3.1-1";
 var VERSION = "ECMA_1";
 var TITLE   = "ToNumber applied to the String type";
 var BUGNUMBER="77391";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 
 //  StringNumericLiteral:::StrWhiteSpace:::StrWhiteSpaceChar StrWhiteSpace:::
 //
 //  Name    Unicode Value   Escape Sequence
 //  <TAB>   0X0009          \t
--- a/js/src/tests/ecma/TypeConversion/9.3.1-3.js
+++ b/js/src/tests/ecma/TypeConversion/9.3.1-3.js
@@ -27,17 +27,17 @@
 */
 
 var SECTION = "9.3.1-3";
 var VERSION = "ECMA_1";
 var BUGNUMBER="129087";
 
 var TITLE   = "Number To String, String To Number";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 // test case from http://scopus.mcom.com/bugsplat/show_bug.cgi?id=312954
 var z = 0;
 
 new TestCase(
   SECTION,
--- a/js/src/tests/ecma/template.js
+++ b/js/src/tests/ecma/template.js
@@ -13,17 +13,17 @@
  *  Author:             ** replace with your e-mail address **
  */
 
 var SECTION = "";       // provide a document reference (ie, ECMA section)
 var VERSION = "ECMA";   // Version of JavaScript or ECMA
 var TITLE   = "";       // Provide ECMA section title or a description
 var BUGNUMBER = "";     // Provide URL to bugsplat or bugzilla report
 
-startTest();               // leave this alone
+printBugNumber(BUGNUMBER);               // leave this alone
 
 /*
  * Calls to AddTestCase here. AddTestCase is a function that is defined
  * in shell.js and takes three arguments:
  * - a string representation of what is being tested
  * - the expected result
  * - the actual result
  *
--- a/js/src/tests/ecma_2/Exceptions/exception-007.js
+++ b/js/src/tests/ecma_2/Exceptions/exception-007.js
@@ -14,17 +14,17 @@
  *  Author:             christine@netscape.com
  *  Date:               31 August 1998
  */
 var SECTION = "exception-007";
 var VERSION = "js1_4";
 var TITLE   = "Tests for JavaScript Standard Exceptions:  TypeError";
 var BUGNUMBER="318250";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 DefaultValue_1();
 
 test();
 
 
 /**
--- a/js/src/tests/ecma_2/Exceptions/exception-009.js
+++ b/js/src/tests/ecma_2/Exceptions/exception-009.js
@@ -16,17 +16,17 @@
  *  Author:             christine@netscape.com
  *  Date:               31 August 1998
  */
 var SECTION = "exception-009";
 var VERSION = "JS1_4";
 var TITLE   = "Tests for JavaScript Standard Exceptions: SyntaxError";
 var BUGNUMBER= "312964";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 try {
   expect = "passed:  no exception thrown";
   result = expect;
   Nested_1();
 } catch ( e ) {
   result = "failed: threw " + e;
--- a/js/src/tests/ecma_2/Exceptions/expression-006.js
+++ b/js/src/tests/ecma_2/Exceptions/expression-006.js
@@ -15,17 +15,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "expression-006.js";
 var VERSION = "JS1_4";
 var TITLE   = "The new operator";
 var BUGNUMBER="327765";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var result = "Failed";
 var exception = "No exception thrown";
 var expect = "Passed";
 
 try {
   var OBJECT = new Object();
--- a/js/src/tests/ecma_2/Exceptions/expression-012.js
+++ b/js/src/tests/ecma_2/Exceptions/expression-012.js
@@ -13,17 +13,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "expression-012";
 var VERSION = "JS1_4";
 var TITLE   = "The new operator";
 var BUGNUMBER= "327765";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var STRING = new String("hi");
 var result = "Failed";
 var exception = "No exception thrown";
 var expect = "Passed";
 
 try {
--- a/js/src/tests/ecma_2/Exceptions/expression-013.js
+++ b/js/src/tests/ecma_2/Exceptions/expression-013.js
@@ -12,17 +12,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "expression-013";
 var VERSION = "JS1_4";
 var TITLE   = "The new operator";
 var BUGNUMBER= "327765";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var NUMBER = new Number(1);
 
 var result = "Failed";
 var exception = "No exception thrown";
 var expect = "Passed";
 
--- a/js/src/tests/ecma_2/Exceptions/expression-014.js
+++ b/js/src/tests/ecma_2/Exceptions/expression-014.js
@@ -13,17 +13,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "expression-014.js";
 var VERSION = "ECMA_1";
 var TITLE   = "The new operator";
 var BUGNUMBER= "327765";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var BOOLEAN = new Boolean();
 
 
 var result = "Failed";
 var exception = "No exception thrown";
 var expect = "Passed";
--- a/js/src/tests/ecma_2/Exceptions/expression-019.js
+++ b/js/src/tests/ecma_2/Exceptions/expression-019.js
@@ -13,17 +13,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "expression-019";
 var VERSION = "JS1_4";
 var TITLE   = "The new operator";
 var BUGNUMBER= "327765";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var result = "Failed";
 var exception = "No exception thrown";
 var expect = "Passed";
 
 try {
   var STRING = new String("hi");
--- a/js/src/tests/ecma_2/Exceptions/function-001.js
+++ b/js/src/tests/ecma_2/Exceptions/function-001.js
@@ -25,17 +25,17 @@
  *  Author:             christine@netscape.com
  *  Date:               11 August 1998
  */
 var SECTION = "function-001.js";
 var VERSION = "JS_12";
 var TITLE   = "functions not separated by semicolons are errors in version 120 and higher";
 var BUGNUMBER="10278";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var result = "pass";
 var exception = "no exception thrown";
 
 try {
   eval("function f(){}function g(){}");
 } catch ( e ) {
--- a/js/src/tests/ecma_2/RegExp/multiline-001.js
+++ b/js/src/tests/ecma_2/RegExp/multiline-001.js
@@ -12,17 +12,17 @@
  *  Date:               19 February 1999
  */
 
 var SECTION = "RegExp/multiline-001";
 var VERSION = "ECMA_2";
 var TITLE   = "RegExp: multiline flag";
 var BUGNUMBER="343901";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 var woodpeckers = "ivory-billed\ndowny\nhairy\nacorn\nyellow-bellied sapsucker\n" +
   "northern flicker\npileated\n";
 
 AddRegExpCases( /.*[y]$/m, woodpeckers, woodpeckers.indexOf("downy"), ["downy"] );
 
 AddRegExpCases( /.*[d]$/m, woodpeckers, woodpeckers.indexOf("ivory-billed"), ["ivory-billed"] );
 
--- a/js/src/tests/ecma_2/RegExp/octal-001.js
+++ b/js/src/tests/ecma_2/RegExp/octal-001.js
@@ -12,17 +12,17 @@
  *  Author:             christine@netscape.com
  *  Date:               19 February 1999
  */
 var SECTION = "RegExp/octal-001.js";
 var VERSION = "ECMA_2";
 var TITLE   = "RegExp patterns that contain OctalEscapeSequences";
 var BUGNUMBER="http://scopus/bugsplat/show_bug.cgi?id=346196";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 
 // backreference
 AddRegExpCases(
   /(.)\1/,
   "/(.)\\1/",
   "HI!!",
   "HI!",
--- a/js/src/tests/ecma_2/RegExp/octal-002.js
+++ b/js/src/tests/ecma_2/RegExp/octal-002.js
@@ -12,17 +12,17 @@
  *  Author:             christine@netscape.com
  *  Date:               19 February 1999
  */
 var SECTION = "RegExp/octal-002.js";
 var VERSION = "ECMA_2";
 var TITLE   = "RegExp patterns that contain OctalEscapeSequences";
 var BUGNUMBER="http://scopus/bugsplat/show_bug.cgi?id=346189";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 // backreference
 AddRegExpCases(
   /(.)(.)(.)(.)(.)(.)(.)(.)\8/,
   "/(.)(.)(.)(.)(.)(.)(.)(.)\\8",
   "aabbccaaabbbccc",
   "aabbccaaabbbccc",
   0,
--- a/js/src/tests/ecma_2/RegExp/octal-003.js
+++ b/js/src/tests/ecma_2/RegExp/octal-003.js
@@ -29,17 +29,17 @@
  *  See the testcase ecma_3/RegExp/octal-002.js for an elaboration.
  *
  */
 var SECTION = "RegExp/octal-003.js";
 var VERSION = "ECMA_2";
 var TITLE   = "RegExp patterns that contain OctalEscapeSequences";
 var BUGNUMBER="http://scopus/bugsplat/show_bug.cgi?id=346132";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 AddRegExpCases( /.\011/, "/\\011/", "a" + String.fromCharCode(0) + "11", "a\\011", 0, null );
 
 test();
 
 function AddRegExpCases(
   regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
 
--- a/js/src/tests/ecma_2/RegExp/properties-002.js
+++ b/js/src/tests/ecma_2/RegExp/properties-002.js
@@ -13,17 +13,17 @@
  *  Date:               19 February 1999
  */
 //-----------------------------------------------------------------------------
 var SECTION = "RegExp/properties-002.js";
 var VERSION = "ECMA_2";
 var TITLE   = "Properties of RegExp Instances";
 var BUGNUMBER ="124339";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 re_1 = /\cA?/g;
 re_1.lastIndex = Math.pow(2,31);
 AddRegExpCases( re_1, "\\cA?", true, false, false, Math.pow(2,31) );
 
 re_2 = /\w*/i;
 re_2.lastIndex = Math.pow(2,32) -1;
 AddRegExpCases( re_2, "\\w*", false, true, false, Math.pow(2,32)-1 );
--- a/js/src/tests/ecma_2/RegExp/regexp-enumerate-001.js
+++ b/js/src/tests/ecma_2/RegExp/regexp-enumerate-001.js
@@ -30,17 +30,17 @@
 //    onerror = err;
 
 var SECTION = "regexp-enumerate-001";
 var VERSION = "ECMA_2";
 var TITLE   = "Regression Test for Enumerating Properties";
 
 var BUGNUMBER="339403";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 /*
  *  This test expects RegExp instances to have four enumerated properties:
  *  source, global, ignoreCase, and lastIndex
  *
  *  99.01.25:  now they also have a multiLine instance property.
  *
--- a/js/src/tests/ecma_2/RegExp/regress-001.js
+++ b/js/src/tests/ecma_2/RegExp/regress-001.js
@@ -14,17 +14,17 @@
  *  Author:             christine@netscape.com
  *  Date:               19 February 1999
  */
 var SECTION = "RegExp/hex-001.js";
 var VERSION = "ECMA_2";
 var TITLE   = "JS regexp anchoring on empty match bug";
 var BUGNUMBER = "2157";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 AddRegExpCases( /a||b/.exec(''),
 		"/a||b/.exec('')",
 		1,
 		[''] );
 
 test();
 
--- a/js/src/tests/ecma_2/Statements/dowhile-005.js
+++ b/js/src/tests/ecma_2/Statements/dowhile-005.js
@@ -18,17 +18,17 @@
  *  Author:             christine@netscape.com
  *  Date:               26 August 1998
  */
 var SECTION = "dowhile-005";
 var VERSION = "ECMA_2";
 var TITLE   = "do...while with a labeled continue statement";
 var BUGNUMBER = "316293";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 NestedLabel();
 
 
 test();
 
 function NestedLabel() {
--- a/js/src/tests/ecma_2/Statements/forin-001.js
+++ b/js/src/tests/ecma_2/Statements/forin-001.js
@@ -16,17 +16,17 @@
  *  Date:               28 August 1998
  */
 var SECTION = "forin-001";
 var VERSION = "ECMA_2";
 var TITLE   = "The for...in  statement";
 var BUGNUMBER="330890";
 var BUGNUMBER="http://scopus.mcom.com/bugsplat/show_bug.cgi?id=344855";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 ForIn_1( { length:4, company:"netscape", year:2000, 0:"zero" } );
 ForIn_2( { length:4, company:"netscape", year:2000, 0:"zero" } );
 ForIn_3( { length:4, company:"netscape", year:2000, 0:"zero" } );
 
 //    ForIn_6({ length:4, company:"netscape", year:2000, 0:"zero" });
 //    ForIn_7({ length:4, company:"netscape", year:2000, 0:"zero" });
--- a/js/src/tests/ecma_2/Statements/if-001.js
+++ b/js/src/tests/ecma_2/Statements/if-001.js
@@ -15,17 +15,17 @@
  *  Author:             christine@netscape.com
  *  Date:               28 August 1998
  */
 var SECTION = "for-001";
 var VERSION = "ECMA_2";
 var TITLE   = "The if  statement";
 var BUGNUMBER="148822";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var a = 0;
 var b = 0;
 var result = "passed";
 
 if ( a = b ) {
   result = "failed:  a = b should return 0";
--- a/js/src/tests/ecma_2/Statements/switch-001.js
+++ b/js/src/tests/ecma_2/Statements/switch-001.js
@@ -16,17 +16,17 @@
  *
  */
 var SECTION = "switch-001";
 var VERSION = "ECMA_2";
 var TITLE   = "The switch statement";
 
 var BUGNUMBER="315767";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 SwitchTest( 0, 126 );
 SwitchTest( 1, 124 );
 SwitchTest( 2, 120 );
 SwitchTest( 3, 112 );
 SwitchTest( 4, 64 );
 SwitchTest( 5, 96 );
--- a/js/src/tests/ecma_2/Statements/switch-004.js
+++ b/js/src/tests/ecma_2/Statements/switch-004.js
@@ -20,17 +20,17 @@
  *  Date:               11 August 1998
  *
  */
 var SECTION = "switch-003";
 var VERSION = "ECMA_2";
 var TITLE   = "The switch statement";
 var BUGNUMBER= "315988";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 ONE = new Number(1);
 ZERO = new Number(0);
 var A = new String("A");
 var B = new String("B");
 TRUE = new Boolean( true );
 FALSE = new Boolean( false );
--- a/js/src/tests/ecma_2/Statements/try-003.js
+++ b/js/src/tests/ecma_2/Statements/try-003.js
@@ -14,17 +14,17 @@
  *  Author:             christine@netscape.com
  *  Date:               11 August 1998
  */
 var SECTION = "try-003";
 var VERSION = "ECMA_2";
 var TITLE   = "The try statement";
 var BUGNUMBER="http://scopus.mcom.com/bugsplat/show_bug.cgi?id=313585";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 // Tests start here.
 
 TrySomething( "x = \"hi\"", false );
 TrySomething( "throw \"boo\"", true );
 TrySomething( "throw 3", true );
 
--- a/js/src/tests/ecma_2/Statements/try-012.js
+++ b/js/src/tests/ecma_2/Statements/try-012.js
@@ -15,17 +15,17 @@
  *  Author:             christine@netscape.com
  *  Date:               11 August 1998
  */
 var SECTION = "try-012";
 var VERSION = "ECMA_2";
 var TITLE   = "The try statement";
 var BUGNUMBER="336872";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 // Tests start here.
 
 TrySomething( "x = \"hi\"", true );
 TrySomething( "throw \"boo\"", true );
 TrySomething( "throw 3", true );
 
--- a/js/src/tests/ecma_2/Statements/while-004.js
+++ b/js/src/tests/ecma_2/Statements/while-004.js
@@ -12,17 +12,17 @@
  *  Author:             christine@netscape.com
  *  Date:               11 August 1998
  */
 var SECTION = "while-004";
 var VERSION = "ECMA_2";
 var TITLE   = "while statement";
 var BUGNUMBER="316725";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 DoWhile_1();
 DoWhile_2();
 DoWhile_3();
 DoWhile_4();
 DoWhile_5();
 
--- a/js/src/tests/ecma_2/String/match-004.js
+++ b/js/src/tests/ecma_2/String/match-004.js
@@ -41,17 +41,17 @@
  */
 
 var SECTION = "String/match-004.js";
 var VERSION = "ECMA_2";
 var TITLE   = "String.prototype.match( regexp )";
 
 var BUGNUMBER="http://scopus/bugsplat/show_bug.cgi?id=345818";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 // set the value of lastIndex
 re = /0./;
 s = 10203040506070809000;
 
 Number.prototype.match = String.prototype.match;
 
 AddRegExpCases(  re,
--- a/js/src/tests/ecma_2/instanceof/instanceof-003.js
+++ b/js/src/tests/ecma_2/instanceof/instanceof-003.js
@@ -26,17 +26,17 @@
    Modified to conform to ECMA3
    https://bugzilla.mozilla.org/show_bug.cgi?id=281606
 */
 var SECTION = "instanceof-003";
 var VERSION = "ECMA_2";
 var TITLE   = "instanceof operator";
 var BUGNUMBER ="7635";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 function Foo() {};
 theproto = {};
 Foo.prototype = theproto;
 
 AddTestCase(
   "function Foo() = {}; theproto = {}; Foo.prototype = theproto; " +
   "theproto instanceof Foo",
--- a/js/src/tests/ecma_2/instanceof/regress-7635.js
+++ b/js/src/tests/ecma_2/instanceof/regress-7635.js
@@ -11,17 +11,17 @@
  *  Author:            
  */
 
 var SECTION = "instanceof";       // provide a document reference (ie, ECMA section)
 var VERSION = "ECMA_2"; // Version of JavaScript or ECMA
 var TITLE   = "Regression test for Bugzilla #7635";       // Provide ECMA section title or a description
 var BUGNUMBER = "7635";     // Provide URL to bugsplat or bugzilla report
 
-startTest();               // leave this alone
+printBugNumber(BUGNUMBER);
 
 /*
  * Calls to AddTestCase here. AddTestCase is a function that is defined
  * in shell.js and takes three arguments:
  * - a string representation of what is being tested
  * - the expected result
  * - the actual result
  *
--- a/js/src/tests/ecma_2/template.js
+++ b/js/src/tests/ecma_2/template.js
@@ -13,14 +13,14 @@
  *  Author:             ** replace with your e-mail address **
  */
 
 var SECTION = "";          // if ECMA test, provide section number
 var VERSION = "ECMA_2";    // Version of JavaScript or ECMA
 var TITLE   = "";          // Provide ECMA section title or description
 var BUGNUMBER = "";        // Provide URL to bugsplat or bugzilla report
 
-startTest();               // leave this alone
+printBugNumber(BUGNUMBER);               // leave this alone
 
 
 /* Calls to AddTestCase here */
 
 test();                    // leave this alone
--- a/js/src/tests/js1_1/regress/function-001.js
+++ b/js/src/tests/js1_1/regress/function-001.js
@@ -25,17 +25,17 @@
  *  Author:             christine@netscape.com
  *  Date:               11 August 1998
  */
 var SECTION = "function-001.js";
 var VERSION = "JS1_1";
 var TITLE   = "functions not separated by semicolons are not errors in version 110 ";
 var BUGNUMBER="99232";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 result = "passed";
 
 new TestCase(
   SECTION,
   "eval(\"function f(){}function g(){}\")",
   void 0,
--- a/js/src/tests/js1_2/Array/splice1.js
+++ b/js/src/tests/js1_2/Array/splice1.js
@@ -12,17 +12,17 @@
    Date:         Fri Feb 13 09:58:28 PST 1998
 */
 
 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"';
 var VERSION = 'no version';
 var TITLE = 'String:splice 1';
 var BUGNUMBER="123795";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog('Executing script: splice1.js');
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var a = ['a','test string',456,9.34,new String("string object"),[],['h','i','j','k']];
 var b = [1,2,3,4,5,6,7,8,9,0];
 
 exhaustiveSpliceTest("exhaustive splice w/no optional args 1",a);
 exhaustiveSpliceTest("exhaustive splice w/no optional args 1",b);
--- a/js/src/tests/js1_2/Array/splice2.js
+++ b/js/src/tests/js1_2/Array/splice2.js
@@ -12,17 +12,17 @@
    Date:         Fri Feb 13 09:58:28 PST 1998
 */
 
 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"';
 var VERSION = 'no version';
 var TITLE = 'String:splice 2';
 var BUGNUMBER="123795";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog('Executing script: splice2.js');
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var a = ['a','test string',456,9.34,new String("string object"),[],['h','i','j','k']];
 var b = [1,2,3,4,5,6,7,8,9,0];
 
 exhaustiveSpliceTestWithArgs("exhaustive splice w/2 optional args 1",a);
 exhaustiveSpliceTestWithArgs("exhaustive splice w/2 optional args 2",b);
--- a/js/src/tests/js1_2/regexp/RegExp_dollar_number.js
+++ b/js/src/tests/js1_2/regexp/RegExp_dollar_number.js
@@ -12,17 +12,17 @@
    Date:         March 12, 1998
 */
 
 var SECTION = 'As described in Netscape doc "What\'s new in JavaScript 1.2"';
 var VERSION = 'no version';
 var TITLE   = 'RegExp: $1, ..., $9';
 var BUGNUMBER="123802";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog('Executing script: RegExp_dollar_number.js');
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 
 // 'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$1
 'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/);
 new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$1",
 	       'abcdefghi', RegExp.$1);
--- a/js/src/tests/js1_2/regexp/control_characters.js
+++ b/js/src/tests/js1_2/regexp/control_characters.js
@@ -12,17 +12,17 @@
    Date:         April 8, 1998
 */
 
 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"';
 var VERSION = 'no version';
 var TITLE = 'RegExp: .';
 var BUGNUMBER="123802";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog('Executing script: control_characters.js');
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 
 // 'àOÐ ê:i¢Ø'.match(new RegExp('.+'))
 new TestCase ( SECTION, "'àOÐ ê:i¢Ø'.match(new RegExp('.+'))",
 	       String(['àOÐ ê:i¢Ø']), String('àOÐ ê:i¢Ø'.match(new RegExp('.+'))));
 
--- a/js/src/tests/js1_2/regexp/regress-6359.js
+++ b/js/src/tests/js1_2/regexp/regress-6359.js
@@ -11,17 +11,17 @@
  *  Author:             ** replace with your e-mail address **
  */
 
 var SECTION = "js1_2";       // provide a document reference (ie, ECMA section)
 var VERSION = "ECMA_2"; // Version of JavaScript or ECMA
 var TITLE   = "Regression test for bugzilla # 6359";       // Provide ECMA section title or a description
 var BUGNUMBER = "http://bugzilla.mozilla.org/show_bug.cgi?id=6359";     // Provide URL to bugsplat or bugzilla report
 
-startTest();               // leave this alone
+printBugNumber(BUGNUMBER);
 
 /*
  * Calls to AddTestCase here. AddTestCase is a function that is defined
  * in shell.js and takes three arguments:
  * - a string representation of what is being tested
  * - the expected result
  * - the actual result
  *
--- a/js/src/tests/js1_2/regexp/regress-9141.js
+++ b/js/src/tests/js1_2/regexp/regress-9141.js
@@ -29,17 +29,17 @@
  * </BODY>
  */
 
 var SECTION = "js1_2";       // provide a document reference (ie, ECMA section)
 var VERSION = "ECMA_2"; // Version of JavaScript or ECMA
 var TITLE   = "Regression test for bugzilla # 9141";       // Provide ECMA section title or a description
 var BUGNUMBER = "http://bugzilla.mozilla.org/show_bug.cgi?id=9141";     // Provide URL to bugsplat or bugzilla report
 
-startTest();               // leave this alone
+printBugNumber(BUGNUMBER);
 
 /*
  * Calls to AddTestCase here. AddTestCase is a function that is defined
  * in shell.js and takes three arguments:
  * - a string representation of what is being tested
  * - the expected result
  * - the actual result
  *
--- a/js/src/tests/js1_2/regress/regress-7703.js
+++ b/js/src/tests/js1_2/regress/regress-7703.js
@@ -11,17 +11,17 @@
  *  Description:        See the text of the bugnumber above
  */
 
 var SECTION = "js1_2";       // provide a document reference (ie, ECMA section)
 var VERSION = "JS1_2"; // Version of JavaScript or ECMA
 var TITLE   = "Regression test for bugzilla # 7703";       // Provide ECMA section title or a description
 var BUGNUMBER = "http://bugzilla.mozilla.org/show_bug.cgi?id=7703";     // Provide URL to bugsplat or bugzilla report
 
-startTest();               // leave this alone
+printBugNumber(BUGNUMBER);
 
 /*
  * Calls to AddTestCase here. AddTestCase is a function that is defined
  * in shell.js and takes three arguments:
  * - a string representation of what is being tested
  * - the expected result
  * - the actual result
  *
--- a/js/src/tests/js1_2/statements/switch.js
+++ b/js/src/tests/js1_2/statements/switch.js
@@ -14,17 +14,17 @@
    Date:         March 19, 1998
 */
 
 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"';
 var VERSION = 'no version';
 var TITLE   = 'statements: switch';
 var BUGNUMBER="323696";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog("Executing script: switch.js");
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 
 var var1 = "match string";
 var match1 = false;
 var match2 = false;
 var match3 = false;
--- a/js/src/tests/js1_2/statements/switch2.js
+++ b/js/src/tests/js1_2/statements/switch2.js
@@ -14,17 +14,17 @@
    Date:         July 31, 1998
 */
 
 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"';
 var VERSION = 'no version';
 var TITLE   = 'statements: switch';
 var BUGNUMBER="323626";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog("Executing script: switch2.js");
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 // test defaults not at the end; regression test for a bug that
 // nearly made it into 4.06
 function f0(i) {
   switch(i) {
   default:
--- a/js/src/tests/js1_3/Script/function-002.js
+++ b/js/src/tests/js1_3/Script/function-002.js
@@ -16,17 +16,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "function-002";
 var VERSION = "JS1_3";
 var TITLE   = "Regression test for 249579";
 var BUGNUMBER="249579";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase(
   SECTION,
   "0?function(){}:0",
   0,
   0?function(){}:0 );
 
--- a/js/src/tests/js1_3/Script/in-001.js
+++ b/js/src/tests/js1_3/Script/in-001.js
@@ -15,17 +15,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "in-001";
 var VERSION = "JS1_3";
 var TITLE   = "Regression test for 196109";
 var BUGNUMBER="196109";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 o = {};
 o.foo = 'sil';
 
 new TestCase(
   SECTION,
   "\"foo\" in o",
--- a/js/src/tests/js1_3/Script/new-001.js
+++ b/js/src/tests/js1_3/Script/new-001.js
@@ -14,17 +14,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "new-001";
 var VERSION = "JS1_3";
 var TITLE   = "new-001";
 var BUGNUMBER="31567";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 function Test_One (x) {
   this.v = x+1;
   return x*2
     }
 
 function Test_Two( x, y ) {
--- a/js/src/tests/js1_3/Script/switch-001.js
+++ b/js/src/tests/js1_3/Script/switch-001.js
@@ -17,17 +17,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "switch-001";
 var VERSION = "JS1_3";
 var TITLE   = "switch-001";
 var BUGNUMBER="315767";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 result = "fail:  did not enter switch";
 
 switch (true) {
 case 1:
   result = "fail: for backwards compatibility, version 130 use strict equality";
   break;
--- a/js/src/tests/js1_3/regress/function-002.js
+++ b/js/src/tests/js1_3/regress/function-002.js
@@ -16,17 +16,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "function-002";
 var VERSION = "JS1_3";
 var TITLE   = "Regression test for 249579";
 var BUGNUMBER="249579";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase(
   SECTION,
   "0?function(){}:0",
   0,
   0?function(){}:0 );
 
--- a/js/src/tests/js1_3/regress/in-001.js
+++ b/js/src/tests/js1_3/regress/in-001.js
@@ -15,17 +15,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "in-001";
 var VERSION = "JS1_3";
 var TITLE   = "Regression test for 196109";
 var BUGNUMBER="196109";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 o = {};
 o.foo = 'sil';
 
 new TestCase(
   SECTION,
   "\"foo\" in o",
--- a/js/src/tests/js1_3/regress/new-001.js
+++ b/js/src/tests/js1_3/regress/new-001.js
@@ -14,17 +14,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "new-001";
 var VERSION = "JS1_3";
 var TITLE   = "new-001";
 var BUGNUMBER="31567";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 function Test_One (x) {
   this.v = x+1;
   return x*2
     }
 
 function Test_Two( x, y ) {
--- a/js/src/tests/js1_3/regress/switch-001.js
+++ b/js/src/tests/js1_3/regress/switch-001.js
@@ -19,17 +19,17 @@
    Author:             christine@netscape.com
    Date:               12 november 1997
 */
 var SECTION = "switch-001";
 var VERSION = "JS1_3";
 var TITLE   = "switch-001";
 var BUGNUMBER="315767";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 result = "fail:  did not enter switch";
 
 switch (true) {
 case 1:
   result = "fail:  version 130 should force strict equality";
   break;
--- a/js/src/tests/js1_4/Eval/eval-001.js
+++ b/js/src/tests/js1_4/Eval/eval-001.js
@@ -33,17 +33,17 @@
  * of the evalnative method.
  *
  */
 var SECTION = "eval-001.js";
 var VERSION = "JS1_4";
 var TITLE   = "Calling eval indirectly should NOT fail in version 140";
 var BUGNUMBER="38512";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var MY_EVAL = eval;
 var RESULT = "";
 var EXPECT = "abcdefg";
 
 MY_EVAL( "RESULT = EXPECT" );
 
--- a/js/src/tests/js1_4/Eval/eval-002.js
+++ b/js/src/tests/js1_4/Eval/eval-002.js
@@ -33,17 +33,17 @@
  * of the evalnative method.
  *
  */
 var SECTION = "eval-002.js";
 var VERSION = "JS1_4";
 var TITLE   = "Calling eval indirectly should NOT fail in version 140";
 var BUGNUMBER="38512";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var MY_EVAL = eval;
 var RESULT = "";
 var EXPECT = 1 + "testString"
 
   EvalTest();
 
--- a/js/src/tests/js1_4/Eval/eval-003.js
+++ b/js/src/tests/js1_4/Eval/eval-003.js
@@ -33,17 +33,17 @@
  * of the evalnative method.
  *
  */
 var SECTION = "eval-003.js";
 var VERSION = "JS1_4";
 var TITLE   = "Calling eval indirectly should NOT fail in version 140";
 var BUGNUMBER="38512";
 
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var MY_EVAL = eval;
 var RESULT = "";
 var EXPECT= "";
 var h = function f(x,y){var g = function(z){return Math.exp(z);}; return g(x+y);};
    
 
--- a/js/src/tests/js1_4/Functions/function-001.js
+++ b/js/src/tests/js1_4/Functions/function-001.js
@@ -34,17 +34,17 @@
  *
  *  Author:             christine@netscape.com
  *  Date:               11 August 1998
  */
 var SECTION = "function-001.js";
 var VERSION = "JS1_4";
 var TITLE   = "Accessing the arguments property of a function object";
 var BUGNUMBER="324455";
-startTest();
+printBugNumber(BUGNUMBER);
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase(
   SECTION,
   "return function.arguments",
   "P",
   TestFunction_2("P", "A","S","S")[0] +"");
 
--- a/js/src/tests/js1_4/Regress/function-001.js
+++ b/js/src/tests/js1_4/Regress/function-001.js
@@ -16,17 +16,17 @@
  *
  *  Author:             christine@netscape.com
  *  Date:               11 August 1998
  */
 var SECTION = "function-001.js";
 var VERSION = "JS1_4";
 var TITLE   = "Regression test case for 325843";
 var BUGNUMBER="3258435";
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 eval("function f1 (a){ var a,b; }");
 
 function f2( a ) { var a, b; };
 
 new TestCase(
--- a/js/src/tests/js1_4/Regress/function-002.js
+++ b/js/src/tests/js1_4/Regress/function-002.js
@@ -31,17 +31,17 @@
  * 1,2, giving function f2(){}. This should be legal by the testsuite's lights."
  *
  */
 var SECTION = "function-002.js";
 var VERSION = "JS1_4";
 var TITLE   = "Regression test case for 325843";
 var BUGNUMBER="330462";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 dec1 = "function f1(x,y){++x, --y}";
 dec2 = "function f2(){var y; f1(1,2); y=new Date(); print(y.toString())}";
 
 eval(dec1);
 eval(dec2);
--- a/js/src/tests/js1_4/Regress/function-003.js
+++ b/js/src/tests/js1_4/Regress/function-003.js
@@ -13,17 +13,17 @@
  *  Author:             christine@netscape.com
  *  Date:               11 August 1998
  */
 var SECTION = "toString-001.js";
 var VERSION = "JS1_4";
 var TITLE   = "Regression test case for 104766";
 var BUGNUMBER="310514";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 new TestCase(
   SECTION,
   "StripSpaces(Array.prototype.concat.toString()).substring(0,17)",
   "functionconcat(){",
   StripSpaces(Array.prototype.concat.toString()).substring(0,17));
--- a/js/src/tests/js1_4/Regress/function-004-n.js
+++ b/js/src/tests/js1_4/Regress/function-004-n.js
@@ -13,17 +13,17 @@
  *  Author:             christine@netscape.com
  *  Date:               11 August 1998
  */
 var SECTION = "funtion-004-n.js";
 var VERSION = "JS1_4";
 var TITLE   = "Regression test case for 310502";
 var BUGNUMBER="310502";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var o  = {};
 o.call = Function.prototype.call;
 
 DESCRIPTION = "var o = {}; o.call = Function.prototype.call; o.call()";
 
--- a/js/src/tests/js1_4/Regress/regress-7224.js
+++ b/js/src/tests/js1_4/Regress/regress-7224.js
@@ -11,17 +11,17 @@
  *  Author:             ** replace with your e-mail address **
  */
 
 var SECTION = "regress";       // provide a document reference (ie, ECMA section)
 var VERSION = "JS1_4"; // Version of JavaScript or ECMA
 var TITLE   = "Regression test for bugzilla #7224";       // Provide ECMA section title or a description
 var BUGNUMBER = "http://bugzilla.mozilla.org/show_bug.cgi?id=7224";     // Provide URL to bugsplat or bugzilla report
 
-startTest();               // leave this alone
+printBugNumber(BUGNUMBER);
 
 /*
  * Calls to AddTestCase here. AddTestCase is a function that is defined
  * in shell.js and takes three arguments:
  * - a string representation of what is being tested
  * - the expected result
  * - the actual result
  *
--- a/js/src/tests/js1_4/Regress/toString-001-n.js
+++ b/js/src/tests/js1_4/Regress/toString-001-n.js
@@ -13,17 +13,17 @@
  *  Author:             christine@netscape.com
  *  Date:               11 August 1998
  */
 var SECTION = "toString-001.js";
 var VERSION = "JS1_4";
 var TITLE   = "Regression test case for 310514";
 var BUGNUMBER="310514";
 
-startTest();
+printBugNumber(BUGNUMBER);
 
 writeHeaderToLog( SECTION + " "+ TITLE);
 
 var o = {};
 o.toString = Function.prototype.toString;
 
 DESCRIPTION = "var o = {}; o.toString = Function.prototype.toString; o.toString();";