Bug 884561 - Update test262 test imports to tip using the script added in bug 496923. r=generating-script-was-reviewed

--HG--
extra : rebase_source : a1f80cabc3669e15ad294d4bd31f26a0e98f7b7e
This commit is contained in:
Jeff Walden 2013-06-17 18:35:38 -07:00
Родитель c37788e291
Коммит 1fca02e691
9 изменённых файлов: 15 добавлений и 26 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -9,6 +9,6 @@
* @onlyStrict
* @negative ^((?!NotEarlyError).)*$
*/
"use strict";
"use strict";
throw NotEarlyError;
var _7_8_4_2 = '100abc\0110def';
var _7_8_4_2 = '100abc\0110def';

Просмотреть файл

@ -9,6 +9,6 @@
* @onlyStrict
* @negative ^((?!NotEarlyError).)*$
*/
"use strict";
"use strict";
throw NotEarlyError;
var obj = { set _11_1_5_1_fun(eval) {}};
var obj = { set _11_1_5_1_fun(eval) {}};

Просмотреть файл

@ -9,6 +9,6 @@
* @onlyStrict
* @negative ^((?!NotEarlyError).)*$
*/
"use strict";
"use strict";
throw NotEarlyError;
var obj = { _11_1_5_2_gs: 10, _11_1_5_2_gs: 10 };
var obj = { _11_1_5_2_gs: 10, _11_1_5_2_gs: 10 };

Просмотреть файл

@ -17,10 +17,6 @@ if (typeof this.parseInt === "undefined") $ERROR('#5: typeof this.parseInt !==
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"');

Просмотреть файл

@ -23,8 +23,6 @@ if (typeof Date.prototype.valueOf !== "function") $ERROR('#11: typeof Date.prot
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 ));
@ -87,15 +85,10 @@ if (typeof Date.prototype.setFullYear !== "function") $ERROR('#75: typeof Date.
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"] ));

Просмотреть файл

@ -9,6 +9,6 @@
* @onlyStrict
* @negative ^((?!NotEarlyError).)*$
*/
"use strict";
"use strict";
throw NotEarlyError;
function arguments() { };
function arguments() { };

Просмотреть файл

@ -33,7 +33,7 @@ if (__func.prototype.constructor !== __func) {
var __constructor_was__enumed;
for (__prop in __func.prototype){
if (__prop = 'constructor')
if (__prop === 'constructor')
__constructor_was__enumed = true;
}

Просмотреть файл

@ -33,7 +33,7 @@ if (__gunc.prototype.constructor !== __gunc) {
var __constructor_was__enumed;
for (__prop in __gunc.prototype){
if (__prop = 'constructor')
if (__prop === 'constructor')
__constructor_was__enumed = true;
}