Bug 884561 - Update test262 test imports to tip using the script added in bug 496923. r=generating-script-was-reviewed
authorJeff Walden <jwalden@mit.edu>
Mon, 17 Jun 2013 18:35:38 -0700
changeset 135510 a7d946a431ef682e1a3436b15fbe54c399d50e4d
parent 135509 b65294b69a5b2614842cede23466076ad77a1a7b
child 135528 398e348e3ed885a0ee2d6a42d33d46d81d86fd6d
push id24842
push useremorley@mozilla.com
push dateWed, 19 Jun 2013 13:23:18 +0000
treeherdermozilla-central@bef2efa89087 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgenerating-script-was-reviewed
bugs884561, 496923
milestone24.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 884561 - Update test262 test imports to tip using the script added in bug 496923. r=generating-script-was-reviewed
js/src/tests/test262/HG-INFO
js/src/tests/test262/ch07/7.8/7.8.4/7.8.4-1gs.js
js/src/tests/test262/ch11/11.1/11.1.5/11.1.5-1gs.js
js/src/tests/test262/ch11/11.1/11.1.5/11.1.5-2gs.js
js/src/tests/test262/ch11/11.2/11.2.1/S11.2.1_A4_T1.js
js/src/tests/test262/ch11/11.2/11.2.1/S11.2.1_A4_T9.js
js/src/tests/test262/ch13/13.1/13.1-13gs.js
js/src/tests/test262/ch13/13.2/S13.2_A4_T1.js
js/src/tests/test262/ch13/13.2/S13.2_A4_T2.js
--- a/js/src/tests/test262/HG-INFO
+++ b/js/src/tests/test262/HG-INFO
@@ -1,7 +1,7 @@
-URL:         /home/jwalden/moz/work-week/test262
-changeset:   365:99aac3bc1cad
+URL:         http://hg.ecmascript.org/tests/test262/
+changeset:   378:d067d2f0ca30
 tag:         tip
-user:        Norbert Lindenberg <ecmascript@lindenbergsoftware.com>
-date:        Mon Apr 29 17:35:48 2013 -0700
-summary:     Added test data for proper rounding in NumberFormat.format.
+user:        Brent Baker <brbaker@adobe.com>
+date:        Thu Jun 13 10:07:45 2013 -0400
+summary:     Bug 1128: use Date.prototype.getFullYear() in S15.2.2.1_A2_T5
 
--- a/js/src/tests/test262/ch07/7.8/7.8.4/7.8.4-1gs.js
+++ b/js/src/tests/test262/ch07/7.8/7.8.4/7.8.4-1gs.js
@@ -4,11 +4,11 @@
 /// "Use Terms").   Any redistribution of this code must retain the above 
 /// copyright and this notice and otherwise comply with the Use Terms.
 /**
  * @path ch07/7.8/7.8.4/7.8.4-1gs.js
  * @description Strict Mode - OctalEscapeSequence(\0110) is forbidden in strict mode
  * @onlyStrict
  * @negative ^((?!NotEarlyError).)*$
  */
-"use strict";
+"use strict";
 throw NotEarlyError;
-var _7_8_4_2 = '100abc\0110def';
\ No newline at end of file
+var _7_8_4_2 = '100abc\0110def';
--- a/js/src/tests/test262/ch11/11.1/11.1.5/11.1.5-1gs.js
+++ b/js/src/tests/test262/ch11/11.1/11.1.5/11.1.5-1gs.js
@@ -4,11 +4,11 @@
 /// "Use Terms").   Any redistribution of this code must retain the above 
 /// copyright and this notice and otherwise comply with the Use Terms.
 /**
  * @path ch11/11.1/11.1.5/11.1.5-1gs.js
  * @description Strict Mode - SyntaxError is thrown when 'eval' occurs as the Identifier in a PropertySetParameterList of a PropertyAssignment that is contained in strict code
  * @onlyStrict
  * @negative ^((?!NotEarlyError).)*$
  */
-"use strict";
+"use strict";
 throw NotEarlyError;
-var obj = { set _11_1_5_1_fun(eval) {}};
\ No newline at end of file
+var obj = { set _11_1_5_1_fun(eval) {}};
--- a/js/src/tests/test262/ch11/11.1/11.1.5/11.1.5-2gs.js
+++ b/js/src/tests/test262/ch11/11.1/11.1.5/11.1.5-2gs.js
@@ -4,11 +4,11 @@
 /// "Use Terms").   Any redistribution of this code must retain the above 
 /// copyright and this notice and otherwise comply with the Use Terms.
 /**
  * @path ch11/11.1/11.1.5/11.1.5-2gs.js
  * @description Strict Mode - SyntaxError is thrown when eval code contains an ObjectLiteral with more than one definition of any data property
  * @onlyStrict
  * @negative ^((?!NotEarlyError).)*$
  */
-"use strict";
+"use strict";
 throw NotEarlyError;
-var obj = { _11_1_5_2_gs: 10, _11_1_5_2_gs: 10 };
\ No newline at end of file
+var obj = { _11_1_5_2_gs: 10, _11_1_5_2_gs: 10 };
--- a/js/src/tests/test262/ch11/11.2/11.2.1/S11.2.1_A4_T1.js
+++ b/js/src/tests/test262/ch11/11.2/11.2.1/S11.2.1_A4_T1.js
@@ -12,20 +12,16 @@
 if (typeof (this.NaN)  === "undefined")  $ERROR('#1: typeof (this.NaN) !== "undefined"');
 if (typeof this['NaN']  === "undefined")  $ERROR('#2: typeof this["NaN"] !== "undefined"');
 if (typeof this.Infinity  === "undefined")  $ERROR('#3: typeof this.Infinity !== "undefined"');
 if (typeof this['Infinity']  === "undefined")  $ERROR('#4: typeof this["Infinity"] !== "undefined"');
 if (typeof this.parseInt  === "undefined")  $ERROR('#5: typeof this.parseInt !== "undefined"');
 if (typeof this['parseInt'] === "undefined")  $ERROR('#6: typeof this["parseInt"] !== "undefined"');
 if (typeof this.parseFloat  === "undefined")  $ERROR('#7: typeof this.parseFloat !== "undefined"');
 if (typeof this['parseFloat'] === "undefined")  $ERROR('#8: typeof this["parseFloat"] !== "undefined"');
-if (typeof this.escape  === "undefined")  $ERROR('#9: typeof this.escape !== "undefined"');
-if (typeof this['escape'] === "undefined")  $ERROR('#10: typeof this["escape"] !== "undefined"');
-if (typeof this.unescape  === "undefined")  $ERROR('#11: typeof this.unescape !== "undefined"');
-if (typeof this['unescape'] === "undefined")  $ERROR('#12: typeof this["unescape"] !== "undefined"');
 if (typeof this.isNaN  === "undefined")  $ERROR('#13: typeof this.isNaN !== "undefined"');
 if (typeof this['isNaN'] === "undefined")  $ERROR('#14: typeof this["isNaN"] !== "undefined"');
 if (typeof this.isFinite  === "undefined")  $ERROR('#15: typeof this.isFinite !== "undefined"');
 if (typeof this['isFinite'] === "undefined")  $ERROR('#16: typeof this["isFinite"] !== "undefined"');
 if (typeof this.Object === "undefined")  $ERROR('#17: typeof this.Object !== "undefined"');
 if (typeof this['Object'] === "undefined")  $ERROR('#18: typeof this["Object"] !== "undefined"');
 if (typeof this.Number === "undefined")  $ERROR('#19: typeof this.Number !== "undefined"');
 if (typeof this['Number'] === "undefined")  $ERROR('#20: typeof this["Number"] !== "undefined"');
--- a/js/src/tests/test262/ch11/11.2/11.2.1/S11.2.1_A4_T9.js
+++ b/js/src/tests/test262/ch11/11.2/11.2.1/S11.2.1_A4_T9.js
@@ -18,18 +18,16 @@ if (typeof Date['UTC'] !== "function")  
 if (typeof Date.prototype.constructor !== "function")  $ERROR('#7: typeof Date.prototype.constructor === "funvtion". Actual: ' + (typeof Date.prototype.constructor ));
 if (typeof Date.prototype['constructor'] !== "function")  $ERROR('#8: typeof Date.prototype["constructor"] === "function". Actual: ' + (typeof Date.prototype["constructor"] ));
 if (typeof Date.prototype.toString !== "function")  $ERROR('#9: typeof Date.prototype.toString === "function". Actual: ' + (typeof Date.prototype.toString ));
 if (typeof Date.prototype['toString'] !== "function")  $ERROR('#10: typeof Date.prototype["toString"] === "function". Actual: ' + (typeof Date.prototype["toString"] ));
 if (typeof Date.prototype.valueOf !== "function")  $ERROR('#11: typeof Date.prototype.valueOf === "function". Actual: ' + (typeof Date.prototype.valueOf ));
 if (typeof Date.prototype['valueOf'] !== "function")  $ERROR('#12: typeof Date.prototype["valueOf"] === "function". Actual: ' + (typeof Date.prototype["valueOf"] ));
 if (typeof Date.prototype.getTime !== "function")  $ERROR('#13: typeof Date.prototype.getTime === "function". Actual: ' + (typeof Date.prototype.getTime ));
 if (typeof Date.prototype['getTime'] !== "function")  $ERROR('#14: typeof Date.prototype["getTime"] === "function". Actual: ' + (typeof Date.prototype["getTime"] ));
-if (typeof Date.prototype.getYear !== "function")  $ERROR('#15: typeof Date.prototype.getYear === "function". Actual: ' + (typeof Date.prototype.getYear ));
-if (typeof Date.prototype['getYear'] !== "function")  $ERROR('#16: typeof Date.prototype["getYear"] === "function". Actual: ' + (typeof Date.prototype["getYear"] ));
 if (typeof Date.prototype.getFullYear !== "function")  $ERROR('#17: typeof Date.prototype.getFullYear === "function". Actual: ' + (typeof Date.prototype.getFullYear ));
 if (typeof Date.prototype['getFullYear'] !== "function")  $ERROR('#18: typeof Date.prototype["getFullYear"] === "function". Actual: ' + (typeof Date.prototype["getFullYear"] ));
 if (typeof Date.prototype.getUTCFullYear !== "function")  $ERROR('#19: typeof Date.prototype.getUTCFullYear === "function". Actual: ' + (typeof Date.prototype.getUTCFullYear ));
 if (typeof Date.prototype['getUTCFullYear'] !== "function")  $ERROR('#20: typeof Date.prototype["getUTCFullYear"] === "function". Actual: ' + (typeof Date.prototype["getUTCFullYear"] ));
 if (typeof Date.prototype.getMonth !== "function")  $ERROR('#21: typeof Date.prototype.getMonth === "function". Actual: ' + (typeof Date.prototype.getMonth ));
 if (typeof Date.prototype['getMonth'] !== "function")  $ERROR('#22: typeof Date.prototype["getMonth"] === "function". Actual: ' + (typeof Date.prototype["getMonth"] ));
 if (typeof Date.prototype.getUTCMonth !== "function")  $ERROR('#23: typeof Date.prototype.getUTCMonth === "function". Actual: ' + (typeof Date.prototype.getUTCMonth ));
 if (typeof Date.prototype['getUTCMonth'] !== "function")  $ERROR('#24: typeof Date.prototype["getUTCMonth"] === "function". Actual: ' + (typeof Date.prototype["getUTCMonth"] ));
@@ -82,20 +80,15 @@ if (typeof Date.prototype['setUTCDate'] 
 if (typeof Date.prototype.setMonth !== "function")  $ERROR('#71: typeof Date.prototype.setMonth === "function". Actual: ' + (typeof Date.prototype.setMonth ));
 if (typeof Date.prototype['setMonth'] !== "function")  $ERROR('#72: typeof Date.prototype["setMonth"] === "function". Actual: ' + (typeof Date.prototype["setMonth"] ));
 if (typeof Date.prototype.setUTCMonth !== "function")  $ERROR('#73: typeof Date.prototype.setUTCMonth === "function". Actual: ' + (typeof Date.prototype.setUTCMonth ));
 if (typeof Date.prototype['setUTCMonth'] !== "function")  $ERROR('#74: typeof Date.prototype["setUTCMonth"] === "function". Actual: ' + (typeof Date.prototype["setUTCMonth"] ));
 if (typeof Date.prototype.setFullYear !== "function")  $ERROR('#75: typeof Date.prototype.setFullYear === "function". Actual: ' + (typeof Date.prototype.setFullYear ));
 if (typeof Date.prototype['setFullYear'] !== "function")  $ERROR('#76: typeof Date.prototype["setFullYear"] === "function". Actual: ' + (typeof Date.prototype["setFullYear"] ));
 if (typeof Date.prototype.setUTCFullYear !== "function")  $ERROR('#77: typeof Date.prototype.setUTCFullYear === "function". Actual: ' + (typeof Date.prototype.setUTCFullYear ));
 if (typeof Date.prototype['setUTCFullYear'] !== "function")  $ERROR('#78: typeof Date.prototype["setUTCFullYear"] === "function". Actual: ' + (typeof Date.prototype["setUTCFullYear"] ));
-if (typeof Date.prototype.setYear !== "function")  $ERROR('#79: typeof Date.prototype.setYear === "function". Actual: ' + (typeof Date.prototype.setYear ));
-if (typeof Date.prototype['setYear'] !== "function")  $ERROR('#80: typeof Date.prototype["setYear"] === "function". Actual: ' + (typeof Date.prototype["setYear"] ));
 if (typeof Date.prototype.toLocaleString !== "function")  $ERROR('#81: typeof Date.prototype.toLocaleString === "function". Actual: ' + (typeof Date.prototype.toLocaleString ));
 if (typeof Date.prototype['toLocaleString'] !== "function")  $ERROR('#82: typeof Date.prototype["toLocaleString"] === "function". Actual: ' + (typeof Date.prototype["toLocaleString"] ));
 if (typeof Date.prototype.toUTCString !== "function")  $ERROR('#83: typeof Date.prototype.toUTCString === "function". Actual: ' + (typeof Date.prototype.toUTCString ));
 if (typeof Date.prototype['toUTCString'] !== "function")  $ERROR('#84: typeof Date.prototype["toUTCString"] === "function". Actual: ' + (typeof Date.prototype["toUTCString"] ));
-if (typeof Date.prototype.toGMTString !== "function")  $ERROR('#85: typeof Date.prototype.toGMTString === "function". Actual: ' + (typeof Date.prototype.toGMTString ));
-if (typeof Date.prototype['toGMTString'] !== "function")  $ERROR('#86: typeof Date.prototype["toGMTString"] === "function". Actual: ' + (typeof Date.prototype["toGMTString"] ));
 
 
 
-
--- a/js/src/tests/test262/ch13/13.1/13.1-13gs.js
+++ b/js/src/tests/test262/ch13/13.1/13.1-13gs.js
@@ -4,11 +4,11 @@
 /// "Use Terms").   Any redistribution of this code must retain the above 
 /// copyright and this notice and otherwise comply with the Use Terms.
 /**
  * @path ch13/13.1/13.1-13gs.js
  * @description StrictMode - SyntaxError is thrown if 'arguments' occurs as the Identifier of a FunctionDeclaration
  * @onlyStrict
  * @negative ^((?!NotEarlyError).)*$
  */
-"use strict";
+"use strict";
 throw NotEarlyError;
-function arguments() { };
\ No newline at end of file
+function arguments() { };
--- a/js/src/tests/test262/ch13/13.2/S13.2_A4_T1.js
+++ b/js/src/tests/test262/ch13/13.2/S13.2_A4_T1.js
@@ -28,17 +28,17 @@ if (__func.prototype.constructor !== __f
 	$ERROR('#2: __func.prototype.constructor === __func. Actual: __gunc.prototype.constructor ==='+__gunc.prototype.constructor);
 }
 //
 //////////////////////////////////////////////////////////////////////////////
 
 var __constructor_was__enumed;
 
 for (__prop in __func.prototype){
-    if (__prop = 'constructor')
+    if (__prop === 'constructor')
         __constructor_was__enumed = true;
 }
 
 //////////////////////////////////////////////////////////////////////////////
 //CHECK#3
 if (__constructor_was__enumed) {
 	$ERROR('#3: __constructor_was__enumed === false. Actual: __constructor_was__enumed ==='+__constructor_was__enumed);
 }
--- a/js/src/tests/test262/ch13/13.2/S13.2_A4_T2.js
+++ b/js/src/tests/test262/ch13/13.2/S13.2_A4_T2.js
@@ -28,17 +28,17 @@ if (__gunc.prototype.constructor !== __g
 	$ERROR('#2: __gunc.prototype.constructor === __gunc. Actual: __gunc.prototype.constructor ==='+__gunc.prototype.constructor);
 }
 //
 //////////////////////////////////////////////////////////////////////////////
 
 var __constructor_was__enumed;
 
 for (__prop in __gunc.prototype){
-    if (__prop = 'constructor')
+    if (__prop === 'constructor')
         __constructor_was__enumed = true;
 }
 
 //////////////////////////////////////////////////////////////////////////////
 //CHECK#3
 if (__constructor_was__enumed) {
 	$ERROR('#3: __constructor_was__enumed === false. Actual: __constructor_was__enumed ==='+__constructor_was__enumed);
 }