chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Date (#3079)

This commit is contained in:
Rick Waldron 2021-07-21 17:14:06 -04:00 committed by GitHub
parent e5fe379157
commit b0e791f4a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
397 changed files with 1399 additions and 1399 deletions

View File

@ -12,70 +12,70 @@ description: Checking type of returned value
//CHECK#1
if (typeof Date() !== "string") {
$ERROR('#1: typeof Date() should be "string", actual is ' + (typeof Date()));
throw new Test262Error('#1: typeof Date() should be "string", actual is ' + (typeof Date()));
}
//CHECK#2
if (typeof Date(1) !== "string") {
$ERROR('#2: typeof Date(1) should be "string", actual is ' + (typeof Date(1)));
throw new Test262Error('#2: typeof Date(1) should be "string", actual is ' + (typeof Date(1)));
}
//CHECK#3
if (typeof Date(1970, 1) !== "string") {
$ERROR('#3: typeof Date(1970, 1) should be "string", actual is ' + (typeof Date(1970, 1)));
throw new Test262Error('#3: typeof Date(1970, 1) should be "string", actual is ' + (typeof Date(1970, 1)));
}
//CHECK#4
if (typeof Date(1970, 1, 1) !== "string") {
$ERROR('#4: typeof Date(1970, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1)));
throw new Test262Error('#4: typeof Date(1970, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1)));
}
//CHECK#5
if (typeof Date(1970, 1, 1, 1) !== "string") {
$ERROR('#5: typeof Date(1970, 1, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1)));
throw new Test262Error('#5: typeof Date(1970, 1, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1)));
}
//CHECK#6
if (typeof Date(1970, 1, 1, 1) !== "string") {
$ERROR('#7: typeof Date(1970, 1, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1)));
throw new Test262Error('#7: typeof Date(1970, 1, 1, 1) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1)));
}
//CHECK#8
if (typeof Date(1970, 1, 1, 1, 0) !== "string") {
$ERROR('#8: typeof Date(1970, 1, 1, 1, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0)));
throw new Test262Error('#8: typeof Date(1970, 1, 1, 1, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0)));
}
//CHECK#9
if (typeof Date(1970, 1, 1, 1, 0, 0) !== "string") {
$ERROR('#9: typeof Date(1970, 1, 1, 1, 0, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0, 0)));
throw new Test262Error('#9: typeof Date(1970, 1, 1, 1, 0, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0, 0)));
}
//CHECK#10
if (typeof Date(1970, 1, 1, 1, 0, 0, 0) !== "string") {
$ERROR('#10: typeof Date(1970, 1, 1, 1, 0, 0, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0, 0, 0)));
throw new Test262Error('#10: typeof Date(1970, 1, 1, 1, 0, 0, 0) should be "string", actual is ' + (typeof Date(1970, 1, 1, 1, 0, 0, 0)));
}
//CHECK#11
if (typeof Date(Number.NaN) !== "string") {
$ERROR('#11: typeof Date(Number.NaN) should be "string", actual is ' + (typeof Date(Number.NaN)));
throw new Test262Error('#11: typeof Date(Number.NaN) should be "string", actual is ' + (typeof Date(Number.NaN)));
}
//CHECK#12
if (typeof Date(Number.POSITIVE_INFINITY) !== "string") {
$ERROR('#12: typeof Date(Number.POSITIVE_INFINITY) should be "string", actual is ' + (typeof Date(Number.POSITIVE_INFINITY)));
throw new Test262Error('#12: typeof Date(Number.POSITIVE_INFINITY) should be "string", actual is ' + (typeof Date(Number.POSITIVE_INFINITY)));
}
//CHECK#13
if (typeof Date(Number.NEGATIVE_INFINITY) !== "string") {
$ERROR('#13: typeof Date(Number.NEGATIVE_INFINITY) should be "string", actual is ' + (typeof Date(Number.NEGATIVE_INFINITY)));
throw new Test262Error('#13: typeof Date(Number.NEGATIVE_INFINITY) should be "string", actual is ' + (typeof Date(Number.NEGATIVE_INFINITY)));
}
//CHECK#14
if (typeof Date(undefined) !== "string") {
$ERROR('#14: typeof Date(undefined) should be "string", actual is ' + (typeof Date(undefined)));
throw new Test262Error('#14: typeof Date(undefined) should be "string", actual is ' + (typeof Date(undefined)));
}
//CHECK#15
if (typeof Date(null) !== "string") {
$ERROR('#15: typeof Date(null) should be "string", actual is ' + (typeof Date(null)));
throw new Test262Error('#15: typeof Date(null) should be "string", actual is ' + (typeof Date(null)));
}

View File

@ -23,70 +23,70 @@ function isEqual(d1, d2) {
//CHECK#1
if (!isEqual(Date(), (new Date()).toString())) {
$ERROR('#1: Date() is equal to (new Date()).toString()');
throw new Test262Error('#1: Date() is equal to (new Date()).toString()');
}
//CHECK#2
if (!isEqual(Date(1), (new Date()).toString())) {
$ERROR('#2: Date(1) is equal to (new Date()).toString()');
throw new Test262Error('#2: Date(1) is equal to (new Date()).toString()');
}
//CHECK#3
if (!isEqual(Date(1970, 1), (new Date()).toString())) {
$ERROR('#3: Date(1970, 1) is equal to (new Date()).toString()');
throw new Test262Error('#3: Date(1970, 1) is equal to (new Date()).toString()');
}
//CHECK#4
if (!isEqual(Date(1970, 1, 1), (new Date()).toString())) {
$ERROR('#4: Date(1970, 1, 1) is equal to (new Date()).toString()');
throw new Test262Error('#4: Date(1970, 1, 1) is equal to (new Date()).toString()');
}
//CHECK#5
if (!isEqual(Date(1970, 1, 1, 1), (new Date()).toString())) {
$ERROR('#5: Date(1970, 1, 1, 1) is equal to (new Date()).toString()');
throw new Test262Error('#5: Date(1970, 1, 1, 1) is equal to (new Date()).toString()');
}
//CHECK#6
if (!isEqual(Date(1970, 1, 1, 1), (new Date()).toString())) {
$ERROR('#7: Date(1970, 1, 1, 1) is equal to (new Date()).toString()');
throw new Test262Error('#7: Date(1970, 1, 1, 1) is equal to (new Date()).toString()');
}
//CHECK#8
if (!isEqual(Date(1970, 1, 1, 1, 0), (new Date()).toString())) {
$ERROR('#8: Date(1970, 1, 1, 1, 0) is equal to (new Date()).toString()');
throw new Test262Error('#8: Date(1970, 1, 1, 1, 0) is equal to (new Date()).toString()');
}
//CHECK#9
if (!isEqual(Date(1970, 1, 1, 1, 0, 0), (new Date()).toString())) {
$ERROR('#9: Date(1970, 1, 1, 1, 0, 0) is equal to (new Date()).toString()');
throw new Test262Error('#9: Date(1970, 1, 1, 1, 0, 0) is equal to (new Date()).toString()');
}
//CHECK#10
if (!isEqual(Date(1970, 1, 1, 1, 0, 0, 0), (new Date()).toString())) {
$ERROR('#10: Date(1970, 1, 1, 1, 0, 0, 0) is equal to (new Date()).toString()');
throw new Test262Error('#10: Date(1970, 1, 1, 1, 0, 0, 0) is equal to (new Date()).toString()');
}
//CHECK#11
if (!isEqual(Date(Number.NaN), (new Date()).toString())) {
$ERROR('#11: Date(Number.NaN) is equal to (new Date()).toString()');
throw new Test262Error('#11: Date(Number.NaN) is equal to (new Date()).toString()');
}
//CHECK#12
if (!isEqual(Date(Number.POSITIVE_INFINITY), (new Date()).toString())) {
$ERROR('#12: Date(Number.POSITIVE_INFINITY) is equal to (new Date()).toString()');
throw new Test262Error('#12: Date(Number.POSITIVE_INFINITY) is equal to (new Date()).toString()');
}
//CHECK#13
if (!isEqual(Date(Number.NEGATIVE_INFINITY), (new Date()).toString())) {
$ERROR('#13: Date(Number.NEGATIVE_INFINITY) is equal to (new Date()).toString()');
throw new Test262Error('#13: Date(Number.NEGATIVE_INFINITY) is equal to (new Date()).toString()');
}
//CHECK#14
if (!isEqual(Date(undefined), (new Date()).toString())) {
$ERROR('#14: Date(undefined) is equal to (new Date()).toString()');
throw new Test262Error('#14: Date(undefined) is equal to (new Date()).toString()');
}
//CHECK#15
if (!isEqual(Date(null), (new Date()).toString())) {
$ERROR('#15: Date(null) is equal to (new Date()).toString()');
throw new Test262Error('#15: Date(null) is equal to (new Date()).toString()');
}

View File

@ -10,217 +10,217 @@ description: 2 arguments, (year, month)
---*/
if (typeof new Date(1899, 11) !== "object") {
$ERROR("#1.1: typeof new Date(1899, 11) should be 'object'");
throw new Test262Error("#1.1: typeof new Date(1899, 11) should be 'object'");
}
if (new Date(1899, 11) === undefined) {
$ERROR("#1.2: new Date(1899, 11) should not be undefined");
throw new Test262Error("#1.2: new Date(1899, 11) should not be undefined");
}
var x13 = new Date(1899, 11);
if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11) should be 'object'");
throw new Test262Error("#1.3: typeof new Date(1899, 11) should be 'object'");
}
var x14 = new Date(1899, 11);
if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11) should not be undefined");
throw new Test262Error("#1.4: new Date(1899, 11) should not be undefined");
}
if (typeof new Date(1899, 12) !== "object") {
$ERROR("#2.1: typeof new Date(1899, 12) should be 'object'");
throw new Test262Error("#2.1: typeof new Date(1899, 12) should be 'object'");
}
if (new Date(1899, 12) === undefined) {
$ERROR("#2.2: new Date(1899, 12) should not be undefined");
throw new Test262Error("#2.2: new Date(1899, 12) should not be undefined");
}
var x23 = new Date(1899, 12);
if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12) should be 'object'");
throw new Test262Error("#2.3: typeof new Date(1899, 12) should be 'object'");
}
var x24 = new Date(1899, 12);
if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12) should not be undefined");
throw new Test262Error("#2.4: new Date(1899, 12) should not be undefined");
}
if (typeof new Date(1900, 0) !== "object") {
$ERROR("#3.1: typeof new Date(1900, 0) should be 'object'");
throw new Test262Error("#3.1: typeof new Date(1900, 0) should be 'object'");
}
if (new Date(1900, 0) === undefined) {
$ERROR("#3.2: new Date(1900, 0) should not be undefined");
throw new Test262Error("#3.2: new Date(1900, 0) should not be undefined");
}
var x33 = new Date(1900, 0);
if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0) should be 'object'");
throw new Test262Error("#3.3: typeof new Date(1900, 0) should be 'object'");
}
var x34 = new Date(1900, 0);
if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0) should not be undefined");
throw new Test262Error("#3.4: new Date(1900, 0) should not be undefined");
}
if (typeof new Date(1969, 11) !== "object") {
$ERROR("#4.1: typeof new Date(1969, 11) should be 'object'");
throw new Test262Error("#4.1: typeof new Date(1969, 11) should be 'object'");
}
if (new Date(1969, 11) === undefined) {
$ERROR("#4.2: new Date(1969, 11) should not be undefined");
throw new Test262Error("#4.2: new Date(1969, 11) should not be undefined");
}
var x43 = new Date(1969, 11);
if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11) should be 'object'");
throw new Test262Error("#4.3: typeof new Date(1969, 11) should be 'object'");
}
var x44 = new Date(1969, 11);
if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11) should not be undefined");
throw new Test262Error("#4.4: new Date(1969, 11) should not be undefined");
}
if (typeof new Date(1969, 12) !== "object") {
$ERROR("#5.1: typeof new Date(1969, 12) should be 'object'");
throw new Test262Error("#5.1: typeof new Date(1969, 12) should be 'object'");
}
if (new Date(1969, 12) === undefined) {
$ERROR("#5.2: new Date(1969, 12) should not be undefined");
throw new Test262Error("#5.2: new Date(1969, 12) should not be undefined");
}
var x53 = new Date(1969, 12);
if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12) should be 'object'");
throw new Test262Error("#5.3: typeof new Date(1969, 12) should be 'object'");
}
var x54 = new Date(1969, 12);
if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12) should not be undefined");
throw new Test262Error("#5.4: new Date(1969, 12) should not be undefined");
}
if (typeof new Date(1970, 0) !== "object") {
$ERROR("#6.1: typeof new Date(1970, 0) should be 'object'");
throw new Test262Error("#6.1: typeof new Date(1970, 0) should be 'object'");
}
if (new Date(1970, 0) === undefined) {
$ERROR("#6.2: new Date(1970, 0) should not be undefined");
throw new Test262Error("#6.2: new Date(1970, 0) should not be undefined");
}
var x63 = new Date(1970, 0);
if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0) should be 'object'");
throw new Test262Error("#6.3: typeof new Date(1970, 0) should be 'object'");
}
var x64 = new Date(1970, 0);
if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0) should not be undefined");
throw new Test262Error("#6.4: new Date(1970, 0) should not be undefined");
}
if (typeof new Date(1999, 11) !== "object") {
$ERROR("#7.1: typeof new Date(1999, 11) should be 'object'");
throw new Test262Error("#7.1: typeof new Date(1999, 11) should be 'object'");
}
if (new Date(1999, 11) === undefined) {
$ERROR("#7.2: new Date(1999, 11) should not be undefined");
throw new Test262Error("#7.2: new Date(1999, 11) should not be undefined");
}
var x73 = new Date(1999, 11);
if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11) should be 'object'");
throw new Test262Error("#7.3: typeof new Date(1999, 11) should be 'object'");
}
var x74 = new Date(1999, 11);
if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11) should not be undefined");
throw new Test262Error("#7.4: new Date(1999, 11) should not be undefined");
}
if (typeof new Date(1999, 12) !== "object") {
$ERROR("#8.1: typeof new Date(1999, 12) should be 'object'");
throw new Test262Error("#8.1: typeof new Date(1999, 12) should be 'object'");
}
if (new Date(1999, 12) === undefined) {
$ERROR("#8.2: new Date(1999, 12) should not be undefined");
throw new Test262Error("#8.2: new Date(1999, 12) should not be undefined");
}
var x83 = new Date(1999, 12);
if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12) should be 'object'");
throw new Test262Error("#8.3: typeof new Date(1999, 12) should be 'object'");
}
var x84 = new Date(1999, 12);
if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12) should not be undefined");
throw new Test262Error("#8.4: new Date(1999, 12) should not be undefined");
}
if (typeof new Date(2000, 0) !== "object") {
$ERROR("#9.1: typeof new Date(2000, 0) should be 'object'");
throw new Test262Error("#9.1: typeof new Date(2000, 0) should be 'object'");
}
if (new Date(2000, 0) === undefined) {
$ERROR("#9.2: new Date(2000, 0) should not be undefined");
throw new Test262Error("#9.2: new Date(2000, 0) should not be undefined");
}
var x93 = new Date(2000, 0);
if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0) should be 'object'");
throw new Test262Error("#9.3: typeof new Date(2000, 0) should be 'object'");
}
var x94 = new Date(2000, 0);
if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0) should not be undefined");
throw new Test262Error("#9.4: new Date(2000, 0) should not be undefined");
}
if (typeof new Date(2099, 11) !== "object") {
$ERROR("#10.1: typeof new Date(2099, 11) should be 'object'");
throw new Test262Error("#10.1: typeof new Date(2099, 11) should be 'object'");
}
if (new Date(2099, 11) === undefined) {
$ERROR("#10.2: new Date(2099, 11) should not be undefined");
throw new Test262Error("#10.2: new Date(2099, 11) should not be undefined");
}
var x103 = new Date(2099, 11);
if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11) should be 'object'");
throw new Test262Error("#10.3: typeof new Date(2099, 11) should be 'object'");
}
var x104 = new Date(2099, 11);
if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11) should not be undefined");
throw new Test262Error("#10.4: new Date(2099, 11) should not be undefined");
}
if (typeof new Date(2099, 12) !== "object") {
$ERROR("#11.1: typeof new Date(2099, 12) should be 'object'");
throw new Test262Error("#11.1: typeof new Date(2099, 12) should be 'object'");
}
if (new Date(2099, 12) === undefined) {
$ERROR("#11.2: new Date(2099, 12) should not be undefined");
throw new Test262Error("#11.2: new Date(2099, 12) should not be undefined");
}
var x113 = new Date(2099, 12);
if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12) should be 'object'");
throw new Test262Error("#11.3: typeof new Date(2099, 12) should be 'object'");
}
var x114 = new Date(2099, 12);
if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12) should not be undefined");
throw new Test262Error("#11.4: new Date(2099, 12) should not be undefined");
}
if (typeof new Date(2100, 0) !== "object") {
$ERROR("#12.1: typeof new Date(2100, 0) should be 'object'");
throw new Test262Error("#12.1: typeof new Date(2100, 0) should be 'object'");
}
if (new Date(2100, 0) === undefined) {
$ERROR("#12.2: new Date(2100, 0) should not be undefined");
throw new Test262Error("#12.2: new Date(2100, 0) should not be undefined");
}
var x123 = new Date(2100, 0);
if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0) should be 'object'");
throw new Test262Error("#12.3: typeof new Date(2100, 0) should be 'object'");
}
var x124 = new Date(2100, 0);
if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0) should not be undefined");
throw new Test262Error("#12.4: new Date(2100, 0) should not be undefined");
}

View File

@ -10,217 +10,217 @@ description: 3 arguments, (year, month, date)
---*/
if (typeof new Date(1899, 11, 31) !== "object") {
$ERROR("#1.1: typeof new Date(1899, 11, 31) should be 'object'");
throw new Test262Error("#1.1: typeof new Date(1899, 11, 31) should be 'object'");
}
if (new Date(1899, 11, 31) === undefined) {
$ERROR("#1.2: new Date(1899, 11, 31) should not be undefined");
throw new Test262Error("#1.2: new Date(1899, 11, 31) should not be undefined");
}
var x13 = new Date(1899, 11, 31);
if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11, 31) should be 'object'");
throw new Test262Error("#1.3: typeof new Date(1899, 11, 31) should be 'object'");
}
var x14 = new Date(1899, 11, 31);
if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11, 31) should not be undefined");
throw new Test262Error("#1.4: new Date(1899, 11, 31) should not be undefined");
}
if (typeof new Date(1899, 12, 1) !== "object") {
$ERROR("#2.1: typeof new Date(1899, 12, 1) should be 'object'");
throw new Test262Error("#2.1: typeof new Date(1899, 12, 1) should be 'object'");
}
if (new Date(1899, 12, 1) === undefined) {
$ERROR("#2.2: new Date(1899, 12, 1) should not be undefined");
throw new Test262Error("#2.2: new Date(1899, 12, 1) should not be undefined");
}
var x23 = new Date(1899, 12, 1);
if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12, 1) should be 'object'");
throw new Test262Error("#2.3: typeof new Date(1899, 12, 1) should be 'object'");
}
var x24 = new Date(1899, 12, 1);
if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12, 1) should not be undefined");
throw new Test262Error("#2.4: new Date(1899, 12, 1) should not be undefined");
}
if (typeof new Date(1900, 0, 1) !== "object") {
$ERROR("#3.1: typeof new Date(1900, 0, 1) should be 'object'");
throw new Test262Error("#3.1: typeof new Date(1900, 0, 1) should be 'object'");
}
if (new Date(1900, 0, 1) === undefined) {
$ERROR("#3.2: new Date(1900, 0, 1) should not be undefined");
throw new Test262Error("#3.2: new Date(1900, 0, 1) should not be undefined");
}
var x33 = new Date(1900, 0, 1);
if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0, 1) should be 'object'");
throw new Test262Error("#3.3: typeof new Date(1900, 0, 1) should be 'object'");
}
var x34 = new Date(1900, 0, 1);
if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0, 1) should not be undefined");
throw new Test262Error("#3.4: new Date(1900, 0, 1) should not be undefined");
}
if (typeof new Date(1969, 11, 31) !== "object") {
$ERROR("#4.1: typeof new Date(1969, 11, 31) should be 'object'");
throw new Test262Error("#4.1: typeof new Date(1969, 11, 31) should be 'object'");
}
if (new Date(1969, 11, 31) === undefined) {
$ERROR("#4.2: new Date(1969, 11, 31) should not be undefined");
throw new Test262Error("#4.2: new Date(1969, 11, 31) should not be undefined");
}
var x43 = new Date(1969, 11, 31);
if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11, 31) should be 'object'");
throw new Test262Error("#4.3: typeof new Date(1969, 11, 31) should be 'object'");
}
var x44 = new Date(1969, 11, 31);
if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11, 31) should not be undefined");
throw new Test262Error("#4.4: new Date(1969, 11, 31) should not be undefined");
}
if (typeof new Date(1969, 12, 1) !== "object") {
$ERROR("#5.1: typeof new Date(1969, 12, 1) should be 'object'");
throw new Test262Error("#5.1: typeof new Date(1969, 12, 1) should be 'object'");
}
if (new Date(1969, 12, 1) === undefined) {
$ERROR("#5.2: new Date(1969, 12, 1) should not be undefined");
throw new Test262Error("#5.2: new Date(1969, 12, 1) should not be undefined");
}
var x53 = new Date(1969, 12, 1);
if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12, 1) should be 'object'");
throw new Test262Error("#5.3: typeof new Date(1969, 12, 1) should be 'object'");
}
var x54 = new Date(1969, 12, 1);
if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12, 1) should not be undefined");
throw new Test262Error("#5.4: new Date(1969, 12, 1) should not be undefined");
}
if (typeof new Date(1970, 0, 1) !== "object") {
$ERROR("#6.1: typeof new Date(1970, 0, 1) should be 'object'");
throw new Test262Error("#6.1: typeof new Date(1970, 0, 1) should be 'object'");
}
if (new Date(1970, 0, 1) === undefined) {
$ERROR("#6.2: new Date(1970, 0, 1) should not be undefined");
throw new Test262Error("#6.2: new Date(1970, 0, 1) should not be undefined");
}
var x63 = new Date(1970, 0, 1);
if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0, 1) should be 'object'");
throw new Test262Error("#6.3: typeof new Date(1970, 0, 1) should be 'object'");
}
var x64 = new Date(1970, 0, 1);
if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0, 1) should not be undefined");
throw new Test262Error("#6.4: new Date(1970, 0, 1) should not be undefined");
}
if (typeof new Date(1999, 11, 31) !== "object") {
$ERROR("#7.1: typeof new Date(1999, 11, 31) should be 'object'");
throw new Test262Error("#7.1: typeof new Date(1999, 11, 31) should be 'object'");
}
if (new Date(1999, 11, 31) === undefined) {
$ERROR("#7.2: new Date(1999, 11, 31) should not be undefined");
throw new Test262Error("#7.2: new Date(1999, 11, 31) should not be undefined");
}
var x73 = new Date(1999, 11, 31);
if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11, 31) should be 'object'");
throw new Test262Error("#7.3: typeof new Date(1999, 11, 31) should be 'object'");
}
var x74 = new Date(1999, 11, 31);
if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11, 31) should not be undefined");
throw new Test262Error("#7.4: new Date(1999, 11, 31) should not be undefined");
}
if (typeof new Date(1999, 12, 1) !== "object") {
$ERROR("#8.1: typeof new Date(1999, 12, 1) should be 'object'");
throw new Test262Error("#8.1: typeof new Date(1999, 12, 1) should be 'object'");
}
if (new Date(1999, 12, 1) === undefined) {
$ERROR("#8.2: new Date(1999, 12, 1) should not be undefined");
throw new Test262Error("#8.2: new Date(1999, 12, 1) should not be undefined");
}
var x83 = new Date(1999, 12, 1);
if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12, 1) should be 'object'");
throw new Test262Error("#8.3: typeof new Date(1999, 12, 1) should be 'object'");
}
var x84 = new Date(1999, 12, 1);
if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12, 1) should not be undefined");
throw new Test262Error("#8.4: new Date(1999, 12, 1) should not be undefined");
}
if (typeof new Date(2000, 0, 1) !== "object") {
$ERROR("#9.1: typeof new Date(2000, 0, 1) should be 'object'");
throw new Test262Error("#9.1: typeof new Date(2000, 0, 1) should be 'object'");
}
if (new Date(2000, 0, 1) === undefined) {
$ERROR("#9.2: new Date(2000, 0, 1) should not be undefined");
throw new Test262Error("#9.2: new Date(2000, 0, 1) should not be undefined");
}
var x93 = new Date(2000, 0, 1);
if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0, 1) should be 'object'");
throw new Test262Error("#9.3: typeof new Date(2000, 0, 1) should be 'object'");
}
var x94 = new Date(2000, 0, 1);
if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0, 1) should not be undefined");
throw new Test262Error("#9.4: new Date(2000, 0, 1) should not be undefined");
}
if (typeof new Date(2099, 11, 31) !== "object") {
$ERROR("#10.1: typeof new Date(2099, 11, 31) should be 'object'");
throw new Test262Error("#10.1: typeof new Date(2099, 11, 31) should be 'object'");
}
if (new Date(2099, 11, 31) === undefined) {
$ERROR("#10.2: new Date(2099, 11, 31) should not be undefined");
throw new Test262Error("#10.2: new Date(2099, 11, 31) should not be undefined");
}
var x103 = new Date(2099, 11, 31);
if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11, 31) should be 'object'");
throw new Test262Error("#10.3: typeof new Date(2099, 11, 31) should be 'object'");
}
var x104 = new Date(2099, 11, 31);
if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11, 31) should not be undefined");
throw new Test262Error("#10.4: new Date(2099, 11, 31) should not be undefined");
}
if (typeof new Date(2099, 12, 1) !== "object") {
$ERROR("#11.1: typeof new Date(2099, 12, 1) should be 'object'");
throw new Test262Error("#11.1: typeof new Date(2099, 12, 1) should be 'object'");
}
if (new Date(2099, 12, 1) === undefined) {
$ERROR("#11.2: new Date(2099, 12, 1) should not be undefined");
throw new Test262Error("#11.2: new Date(2099, 12, 1) should not be undefined");
}
var x113 = new Date(2099, 12, 1);
if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12, 1) should be 'object'");
throw new Test262Error("#11.3: typeof new Date(2099, 12, 1) should be 'object'");
}
var x114 = new Date(2099, 12, 1);
if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12, 1) should not be undefined");
throw new Test262Error("#11.4: new Date(2099, 12, 1) should not be undefined");
}
if (typeof new Date(2100, 0, 1) !== "object") {
$ERROR("#12.1: typeof new Date(2100, 0, 1) should be 'object'");
throw new Test262Error("#12.1: typeof new Date(2100, 0, 1) should be 'object'");
}
if (new Date(2100, 0, 1) === undefined) {
$ERROR("#12.2: new Date(2100, 0, 1) should not be undefined");
throw new Test262Error("#12.2: new Date(2100, 0, 1) should not be undefined");
}
var x123 = new Date(2100, 0, 1);
if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0, 1) should be 'object'");
throw new Test262Error("#12.3: typeof new Date(2100, 0, 1) should be 'object'");
}
var x124 = new Date(2100, 0, 1);
if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0, 1) should not be undefined");
throw new Test262Error("#12.4: new Date(2100, 0, 1) should not be undefined");
}

View File

@ -10,217 +10,217 @@ description: 4 arguments, (year, month, date, hours)
---*/
if (typeof new Date(1899, 11, 31, 23) !== "object") {
$ERROR("#1.1: typeof new Date(1899, 11, 31, 23) should be 'object'");
throw new Test262Error("#1.1: typeof new Date(1899, 11, 31, 23) should be 'object'");
}
if (new Date(1899, 11, 31, 23) === undefined) {
$ERROR("#1.2: new Date(1899, 11, 31, 23) should not be undefined");
throw new Test262Error("#1.2: new Date(1899, 11, 31, 23) should not be undefined");
}
var x13 = new Date(1899, 11, 31, 23);
if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11, 31, 23) should be 'object'");
throw new Test262Error("#1.3: typeof new Date(1899, 11, 31, 23) should be 'object'");
}
var x14 = new Date(1899, 11, 31, 23);
if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11, 31, 23) should not be undefined");
throw new Test262Error("#1.4: new Date(1899, 11, 31, 23) should not be undefined");
}
if (typeof new Date(1899, 12, 1, 0) !== "object") {
$ERROR("#2.1: typeof new Date(1899, 12, 1, 0) should be 'object'");
throw new Test262Error("#2.1: typeof new Date(1899, 12, 1, 0) should be 'object'");
}
if (new Date(1899, 12, 1, 0) === undefined) {
$ERROR("#2.2: new Date(1899, 12, 1, 0) should not be undefined");
throw new Test262Error("#2.2: new Date(1899, 12, 1, 0) should not be undefined");
}
var x23 = new Date(1899, 12, 1, 0);
if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12, 1, 0) should be 'object'");
throw new Test262Error("#2.3: typeof new Date(1899, 12, 1, 0) should be 'object'");
}
var x24 = new Date(1899, 12, 1, 0);
if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12, 1, 0) should not be undefined");
throw new Test262Error("#2.4: new Date(1899, 12, 1, 0) should not be undefined");
}
if (typeof new Date(1900, 0, 1, 0) !== "object") {
$ERROR("#3.1: typeof new Date(1900, 0, 1, 0) should be 'object'");
throw new Test262Error("#3.1: typeof new Date(1900, 0, 1, 0) should be 'object'");
}
if (new Date(1900, 0, 1, 0) === undefined) {
$ERROR("#3.2: new Date(1900, 0, 1, 0) should not be undefined");
throw new Test262Error("#3.2: new Date(1900, 0, 1, 0) should not be undefined");
}
var x33 = new Date(1900, 0, 1, 0);
if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0, 1, 0) should be 'object'");
throw new Test262Error("#3.3: typeof new Date(1900, 0, 1, 0) should be 'object'");
}
var x34 = new Date(1900, 0, 1, 0);
if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0, 1, 0) should not be undefined");
throw new Test262Error("#3.4: new Date(1900, 0, 1, 0) should not be undefined");
}
if (typeof new Date(1969, 11, 31, 23) !== "object") {
$ERROR("#4.1: typeof new Date(1969, 11, 31, 23) should be 'object'");
throw new Test262Error("#4.1: typeof new Date(1969, 11, 31, 23) should be 'object'");
}
if (new Date(1969, 11, 31, 23) === undefined) {
$ERROR("#4.2: new Date(1969, 11, 31, 23) should not be undefined");
throw new Test262Error("#4.2: new Date(1969, 11, 31, 23) should not be undefined");
}
var x43 = new Date(1969, 11, 31, 23);
if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11, 31, 23) should be 'object'");
throw new Test262Error("#4.3: typeof new Date(1969, 11, 31, 23) should be 'object'");
}
var x44 = new Date(1969, 11, 31, 23);
if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11, 31, 23) should not be undefined");
throw new Test262Error("#4.4: new Date(1969, 11, 31, 23) should not be undefined");
}
if (typeof new Date(1969, 12, 1, 0) !== "object") {
$ERROR("#5.1: typeof new Date(1969, 12, 1, 0) should be 'object'");
throw new Test262Error("#5.1: typeof new Date(1969, 12, 1, 0) should be 'object'");
}
if (new Date(1969, 12, 1, 0) === undefined) {
$ERROR("#5.2: new Date(1969, 12, 1, 0) should not be undefined");
throw new Test262Error("#5.2: new Date(1969, 12, 1, 0) should not be undefined");
}
var x53 = new Date(1969, 12, 1, 0);
if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12, 1, 0) should be 'object'");
throw new Test262Error("#5.3: typeof new Date(1969, 12, 1, 0) should be 'object'");
}
var x54 = new Date(1969, 12, 1, 0);
if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12, 1, 0) should not be undefined");
throw new Test262Error("#5.4: new Date(1969, 12, 1, 0) should not be undefined");
}
if (typeof new Date(1970, 0, 1, 0) !== "object") {
$ERROR("#6.1: typeof new Date(1970, 0, 1, 0) should be 'object'");
throw new Test262Error("#6.1: typeof new Date(1970, 0, 1, 0) should be 'object'");
}
if (new Date(1970, 0, 1, 0) === undefined) {
$ERROR("#6.2: new Date(1970, 0, 1, 0) should not be undefined");
throw new Test262Error("#6.2: new Date(1970, 0, 1, 0) should not be undefined");
}
var x63 = new Date(1970, 0, 1, 0);
if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0, 1, 0) should be 'object'");
throw new Test262Error("#6.3: typeof new Date(1970, 0, 1, 0) should be 'object'");
}
var x64 = new Date(1970, 0, 1, 0);
if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0, 1, 0) should not be undefined");
throw new Test262Error("#6.4: new Date(1970, 0, 1, 0) should not be undefined");
}
if (typeof new Date(1999, 11, 31, 23) !== "object") {
$ERROR("#7.1: typeof new Date(1999, 11, 31, 23) should be 'object'");
throw new Test262Error("#7.1: typeof new Date(1999, 11, 31, 23) should be 'object'");
}
if (new Date(1999, 11, 31, 23) === undefined) {
$ERROR("#7.2: new Date(1999, 11, 31, 23) should not be undefined");
throw new Test262Error("#7.2: new Date(1999, 11, 31, 23) should not be undefined");
}
var x73 = new Date(1999, 11, 31, 23);
if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11, 31, 23) should be 'object'");
throw new Test262Error("#7.3: typeof new Date(1999, 11, 31, 23) should be 'object'");
}
var x74 = new Date(1999, 11, 31, 23);
if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11, 31, 23) should not be undefined");
throw new Test262Error("#7.4: new Date(1999, 11, 31, 23) should not be undefined");
}
if (typeof new Date(1999, 12, 1, 0) !== "object") {
$ERROR("#8.1: typeof new Date(1999, 12, 1, 0) should be 'object'");
throw new Test262Error("#8.1: typeof new Date(1999, 12, 1, 0) should be 'object'");
}
if (new Date(1999, 12, 1, 0) === undefined) {
$ERROR("#8.2: new Date(1999, 12, 1, 0) should not be undefined");
throw new Test262Error("#8.2: new Date(1999, 12, 1, 0) should not be undefined");
}
var x83 = new Date(1999, 12, 1, 0);
if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12, 1, 0) should be 'object'");
throw new Test262Error("#8.3: typeof new Date(1999, 12, 1, 0) should be 'object'");
}
var x84 = new Date(1999, 12, 1, 0);
if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12, 1, 0) should not be undefined");
throw new Test262Error("#8.4: new Date(1999, 12, 1, 0) should not be undefined");
}
if (typeof new Date(2000, 0, 1, 0) !== "object") {
$ERROR("#9.1: typeof new Date(2000, 0, 1, 0) should be 'object'");
throw new Test262Error("#9.1: typeof new Date(2000, 0, 1, 0) should be 'object'");
}
if (new Date(2000, 0, 1, 0) === undefined) {
$ERROR("#9.2: new Date(2000, 0, 1, 0) should not be undefined");
throw new Test262Error("#9.2: new Date(2000, 0, 1, 0) should not be undefined");
}
var x93 = new Date(2000, 0, 1, 0);
if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0, 1, 0) should be 'object'");
throw new Test262Error("#9.3: typeof new Date(2000, 0, 1, 0) should be 'object'");
}
var x94 = new Date(2000, 0, 1, 0);
if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0, 1, 0) should not be undefined");
throw new Test262Error("#9.4: new Date(2000, 0, 1, 0) should not be undefined");
}
if (typeof new Date(2099, 11, 31, 23) !== "object") {
$ERROR("#10.1: typeof new Date(2099, 11, 31, 23) should be 'object'");
throw new Test262Error("#10.1: typeof new Date(2099, 11, 31, 23) should be 'object'");
}
if (new Date(2099, 11, 31, 23) === undefined) {
$ERROR("#10.2: new Date(2099, 11, 31, 23) should not be undefined");
throw new Test262Error("#10.2: new Date(2099, 11, 31, 23) should not be undefined");
}
var x103 = new Date(2099, 11, 31, 23);
if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11, 31, 23) should be 'object'");
throw new Test262Error("#10.3: typeof new Date(2099, 11, 31, 23) should be 'object'");
}
var x104 = new Date(2099, 11, 31, 23);
if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11, 31, 23) should not be undefined");
throw new Test262Error("#10.4: new Date(2099, 11, 31, 23) should not be undefined");
}
if (typeof new Date(2099, 12, 1, 0) !== "object") {
$ERROR("#11.1: typeof new Date(2099, 12, 1, 0) should be 'object'");
throw new Test262Error("#11.1: typeof new Date(2099, 12, 1, 0) should be 'object'");
}
if (new Date(2099, 12, 1, 0) === undefined) {
$ERROR("#11.2: new Date(2099, 12, 1, 0) should not be undefined");
throw new Test262Error("#11.2: new Date(2099, 12, 1, 0) should not be undefined");
}
var x113 = new Date(2099, 12, 1, 0);
if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12, 1, 0) should be 'object'");
throw new Test262Error("#11.3: typeof new Date(2099, 12, 1, 0) should be 'object'");
}
var x114 = new Date(2099, 12, 1, 0);
if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12, 1, 0) should not be undefined");
throw new Test262Error("#11.4: new Date(2099, 12, 1, 0) should not be undefined");
}
if (typeof new Date(2100, 0, 1, 0) !== "object") {
$ERROR("#12.1: typeof new Date(2100, 0, 1, 0) should be 'object'");
throw new Test262Error("#12.1: typeof new Date(2100, 0, 1, 0) should be 'object'");
}
if (new Date(2100, 0, 1, 0) === undefined) {
$ERROR("#12.2: new Date(2100, 0, 1, 0) should not be undefined");
throw new Test262Error("#12.2: new Date(2100, 0, 1, 0) should not be undefined");
}
var x123 = new Date(2100, 0, 1, 0);
if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0, 1, 0) should be 'object'");
throw new Test262Error("#12.3: typeof new Date(2100, 0, 1, 0) should be 'object'");
}
var x124 = new Date(2100, 0, 1, 0);
if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0, 1, 0) should not be undefined");
throw new Test262Error("#12.4: new Date(2100, 0, 1, 0) should not be undefined");
}

View File

@ -10,217 +10,217 @@ description: 5 arguments, (year, month, date, hours, minutes)
---*/
if (typeof new Date(1899, 11, 31, 23, 59) !== "object") {
$ERROR("#1.1: typeof new Date(1899, 11, 31, 23, 59) should be 'object'");
throw new Test262Error("#1.1: typeof new Date(1899, 11, 31, 23, 59) should be 'object'");
}
if (new Date(1899, 11, 31, 23, 59) === undefined) {
$ERROR("#1.2: new Date(1899, 11, 31, 23, 59) should not be undefined");
throw new Test262Error("#1.2: new Date(1899, 11, 31, 23, 59) should not be undefined");
}
var x13 = new Date(1899, 11, 31, 23, 59);
if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59) should be 'object'");
throw new Test262Error("#1.3: typeof new Date(1899, 11, 31, 23, 59) should be 'object'");
}
var x14 = new Date(1899, 11, 31, 23, 59);
if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11, 31, 23, 59) should not be undefined");
throw new Test262Error("#1.4: new Date(1899, 11, 31, 23, 59) should not be undefined");
}
if (typeof new Date(1899, 12, 1, 0, 0) !== "object") {
$ERROR("#2.1: typeof new Date(1899, 12, 1, 0, 0) should be 'object'");
throw new Test262Error("#2.1: typeof new Date(1899, 12, 1, 0, 0) should be 'object'");
}
if (new Date(1899, 12, 1, 0, 0) === undefined) {
$ERROR("#2.2: new Date(1899, 12, 1, 0, 0) should not be undefined");
throw new Test262Error("#2.2: new Date(1899, 12, 1, 0, 0) should not be undefined");
}
var x23 = new Date(1899, 12, 1, 0, 0);
if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0) should be 'object'");
throw new Test262Error("#2.3: typeof new Date(1899, 12, 1, 0, 0) should be 'object'");
}
var x24 = new Date(1899, 12, 1, 0, 0);
if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12, 1, 0, 0) should not be undefined");
throw new Test262Error("#2.4: new Date(1899, 12, 1, 0, 0) should not be undefined");
}
if (typeof new Date(1900, 0, 1, 0, 0) !== "object") {
$ERROR("#3.1: typeof new Date(1900, 0, 1, 0, 0) should be 'object'");
throw new Test262Error("#3.1: typeof new Date(1900, 0, 1, 0, 0) should be 'object'");
}
if (new Date(1900, 0, 1, 0, 0) === undefined) {
$ERROR("#3.2: new Date(1900, 0, 1, 0, 0) should not be undefined");
throw new Test262Error("#3.2: new Date(1900, 0, 1, 0, 0) should not be undefined");
}
var x33 = new Date(1900, 0, 1, 0, 0);
if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0) should be 'object'");
throw new Test262Error("#3.3: typeof new Date(1900, 0, 1, 0, 0) should be 'object'");
}
var x34 = new Date(1900, 0, 1, 0, 0);
if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0, 1, 0, 0) should not be undefined");
throw new Test262Error("#3.4: new Date(1900, 0, 1, 0, 0) should not be undefined");
}
if (typeof new Date(1969, 11, 31, 23, 59) !== "object") {
$ERROR("#4.1: typeof new Date(1969, 11, 31, 23, 59) should be 'object'");
throw new Test262Error("#4.1: typeof new Date(1969, 11, 31, 23, 59) should be 'object'");
}
if (new Date(1969, 11, 31, 23, 59) === undefined) {
$ERROR("#4.2: new Date(1969, 11, 31, 23, 59) should not be undefined");
throw new Test262Error("#4.2: new Date(1969, 11, 31, 23, 59) should not be undefined");
}
var x43 = new Date(1969, 11, 31, 23, 59);
if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59) should be 'object'");
throw new Test262Error("#4.3: typeof new Date(1969, 11, 31, 23, 59) should be 'object'");
}
var x44 = new Date(1969, 11, 31, 23, 59);
if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11, 31, 23, 59) should not be undefined");
throw new Test262Error("#4.4: new Date(1969, 11, 31, 23, 59) should not be undefined");
}
if (typeof new Date(1969, 12, 1, 0, 0) !== "object") {
$ERROR("#5.1: typeof new Date(1969, 12, 1, 0, 0) should be 'object'");
throw new Test262Error("#5.1: typeof new Date(1969, 12, 1, 0, 0) should be 'object'");
}
if (new Date(1969, 12, 1, 0, 0) === undefined) {
$ERROR("#5.2: new Date(1969, 12, 1, 0, 0) should not be undefined");
throw new Test262Error("#5.2: new Date(1969, 12, 1, 0, 0) should not be undefined");
}
var x53 = new Date(1969, 12, 1, 0, 0);
if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0) should be 'object'");
throw new Test262Error("#5.3: typeof new Date(1969, 12, 1, 0, 0) should be 'object'");
}
var x54 = new Date(1969, 12, 1, 0, 0);
if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12, 1, 0, 0) should not be undefined");
throw new Test262Error("#5.4: new Date(1969, 12, 1, 0, 0) should not be undefined");
}
if (typeof new Date(1970, 0, 1, 0, 0) !== "object") {
$ERROR("#6.1: typeof new Date(1970, 0, 1, 0, 0) should be 'object'");
throw new Test262Error("#6.1: typeof new Date(1970, 0, 1, 0, 0) should be 'object'");
}
if (new Date(1970, 0, 1, 0, 0) === undefined) {
$ERROR("#6.2: new Date(1970, 0, 1, 0, 0) should not be undefined");
throw new Test262Error("#6.2: new Date(1970, 0, 1, 0, 0) should not be undefined");
}
var x63 = new Date(1970, 0, 1, 0, 0);
if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0) should be 'object'");
throw new Test262Error("#6.3: typeof new Date(1970, 0, 1, 0, 0) should be 'object'");
}
var x64 = new Date(1970, 0, 1, 0, 0);
if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0, 1, 0, 0) should not be undefined");
throw new Test262Error("#6.4: new Date(1970, 0, 1, 0, 0) should not be undefined");
}
if (typeof new Date(1999, 11, 31, 23, 59) !== "object") {
$ERROR("#7.1: typeof new Date(1999, 11, 31, 23, 59) should be 'object'");
throw new Test262Error("#7.1: typeof new Date(1999, 11, 31, 23, 59) should be 'object'");
}
if (new Date(1999, 11, 31, 23, 59) === undefined) {
$ERROR("#7.2: new Date(1999, 11, 31, 23, 59) should not be undefined");
throw new Test262Error("#7.2: new Date(1999, 11, 31, 23, 59) should not be undefined");
}
var x73 = new Date(1999, 11, 31, 23, 59);
if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59) should be 'object'");
throw new Test262Error("#7.3: typeof new Date(1999, 11, 31, 23, 59) should be 'object'");
}
var x74 = new Date(1999, 11, 31, 23, 59);
if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11, 31, 23, 59) should not be undefined");
throw new Test262Error("#7.4: new Date(1999, 11, 31, 23, 59) should not be undefined");
}
if (typeof new Date(1999, 12, 1, 0, 0) !== "object") {
$ERROR("#8.1: typeof new Date(1999, 12, 1, 0, 0) should be 'object'");
throw new Test262Error("#8.1: typeof new Date(1999, 12, 1, 0, 0) should be 'object'");
}
if (new Date(1999, 12, 1, 0, 0) === undefined) {
$ERROR("#8.2: new Date(1999, 12, 1, 0, 0) should not be undefined");
throw new Test262Error("#8.2: new Date(1999, 12, 1, 0, 0) should not be undefined");
}
var x83 = new Date(1999, 12, 1, 0, 0);
if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0) should be 'object'");
throw new Test262Error("#8.3: typeof new Date(1999, 12, 1, 0, 0) should be 'object'");
}
var x84 = new Date(1999, 12, 1, 0, 0);
if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12, 1, 0, 0) should not be undefined");
throw new Test262Error("#8.4: new Date(1999, 12, 1, 0, 0) should not be undefined");
}
if (typeof new Date(2000, 0, 1, 0, 0) !== "object") {
$ERROR("#9.1: typeof new Date(2000, 0, 1, 0, 0) should be 'object'");
throw new Test262Error("#9.1: typeof new Date(2000, 0, 1, 0, 0) should be 'object'");
}
if (new Date(2000, 0, 1, 0, 0) === undefined) {
$ERROR("#9.2: new Date(2000, 0, 1, 0, 0) should not be undefined");
throw new Test262Error("#9.2: new Date(2000, 0, 1, 0, 0) should not be undefined");
}
var x93 = new Date(2000, 0, 1, 0, 0);
if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0) should be 'object'");
throw new Test262Error("#9.3: typeof new Date(2000, 0, 1, 0, 0) should be 'object'");
}
var x94 = new Date(2000, 0, 1, 0, 0);
if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0, 1, 0, 0) should not be undefined");
throw new Test262Error("#9.4: new Date(2000, 0, 1, 0, 0) should not be undefined");
}
if (typeof new Date(2099, 11, 31, 23, 59) !== "object") {
$ERROR("#10.1: typeof new Date(2099, 11, 31, 23, 59) should be 'object'");
throw new Test262Error("#10.1: typeof new Date(2099, 11, 31, 23, 59) should be 'object'");
}
if (new Date(2099, 11, 31, 23, 59) === undefined) {
$ERROR("#10.2: new Date(2099, 11, 31, 23, 59) should not be undefined");
throw new Test262Error("#10.2: new Date(2099, 11, 31, 23, 59) should not be undefined");
}
var x103 = new Date(2099, 11, 31, 23, 59);
if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59) should be 'object'");
throw new Test262Error("#10.3: typeof new Date(2099, 11, 31, 23, 59) should be 'object'");
}
var x104 = new Date(2099, 11, 31, 23, 59);
if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11, 31, 23, 59) should not be undefined");
throw new Test262Error("#10.4: new Date(2099, 11, 31, 23, 59) should not be undefined");
}
if (typeof new Date(2099, 12, 1, 0, 0) !== "object") {
$ERROR("#11.1: typeof new Date(2099, 12, 1, 0, 0) should be 'object'");
throw new Test262Error("#11.1: typeof new Date(2099, 12, 1, 0, 0) should be 'object'");
}
if (new Date(2099, 12, 1, 0, 0) === undefined) {
$ERROR("#11.2: new Date(2099, 12, 1, 0, 0) should not be undefined");
throw new Test262Error("#11.2: new Date(2099, 12, 1, 0, 0) should not be undefined");
}
var x113 = new Date(2099, 12, 1, 0, 0);
if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0) should be 'object'");
throw new Test262Error("#11.3: typeof new Date(2099, 12, 1, 0, 0) should be 'object'");
}
var x114 = new Date(2099, 12, 1, 0, 0);
if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12, 1, 0, 0) should not be undefined");
throw new Test262Error("#11.4: new Date(2099, 12, 1, 0, 0) should not be undefined");
}
if (typeof new Date(2100, 0, 1, 0, 0) !== "object") {
$ERROR("#12.1: typeof new Date(2100, 0, 1, 0, 0) should be 'object'");
throw new Test262Error("#12.1: typeof new Date(2100, 0, 1, 0, 0) should be 'object'");
}
if (new Date(2100, 0, 1, 0, 0) === undefined) {
$ERROR("#12.2: new Date(2100, 0, 1, 0, 0) should not be undefined");
throw new Test262Error("#12.2: new Date(2100, 0, 1, 0, 0) should not be undefined");
}
var x123 = new Date(2100, 0, 1, 0, 0);
if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0) should be 'object'");
throw new Test262Error("#12.3: typeof new Date(2100, 0, 1, 0, 0) should be 'object'");
}
var x124 = new Date(2100, 0, 1, 0, 0);
if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0, 1, 0, 0) should not be undefined");
throw new Test262Error("#12.4: new Date(2100, 0, 1, 0, 0) should not be undefined");
}

View File

@ -10,217 +10,217 @@ description: 6 arguments, (year, month, date, hours, minutes, seconds)
---*/
if (typeof new Date(1899, 11, 31, 23, 59, 59) !== "object") {
$ERROR("#1.1: typeof new Date(1899, 11, 31, 23, 59, 59) should be 'object'");
throw new Test262Error("#1.1: typeof new Date(1899, 11, 31, 23, 59, 59) should be 'object'");
}
if (new Date(1899, 11, 31, 23, 59, 59) === undefined) {
$ERROR("#1.2: new Date(1899, 11, 31, 23, 59, 59) should not be undefined");
throw new Test262Error("#1.2: new Date(1899, 11, 31, 23, 59, 59) should not be undefined");
}
var x13 = new Date(1899, 11, 31, 23, 59, 59);
if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59) should be 'object'");
throw new Test262Error("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59) should be 'object'");
}
var x14 = new Date(1899, 11, 31, 23, 59, 59);
if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11, 31, 23, 59, 59) should not be undefined");
throw new Test262Error("#1.4: new Date(1899, 11, 31, 23, 59, 59) should not be undefined");
}
if (typeof new Date(1899, 12, 1, 0, 0, 0) !== "object") {
$ERROR("#2.1: typeof new Date(1899, 12, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#2.1: typeof new Date(1899, 12, 1, 0, 0, 0) should be 'object'");
}
if (new Date(1899, 12, 1, 0, 0, 0) === undefined) {
$ERROR("#2.2: new Date(1899, 12, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#2.2: new Date(1899, 12, 1, 0, 0, 0) should not be undefined");
}
var x23 = new Date(1899, 12, 1, 0, 0, 0);
if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0) should be 'object'");
}
var x24 = new Date(1899, 12, 1, 0, 0, 0);
if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#2.4: new Date(1899, 12, 1, 0, 0, 0) should not be undefined");
}
if (typeof new Date(1900, 0, 1, 0, 0, 0) !== "object") {
$ERROR("#3.1: typeof new Date(1900, 0, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#3.1: typeof new Date(1900, 0, 1, 0, 0, 0) should be 'object'");
}
if (new Date(1900, 0, 1, 0, 0, 0) === undefined) {
$ERROR("#3.2: new Date(1900, 0, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#3.2: new Date(1900, 0, 1, 0, 0, 0) should not be undefined");
}
var x33 = new Date(1900, 0, 1, 0, 0, 0);
if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0) should be 'object'");
}
var x34 = new Date(1900, 0, 1, 0, 0, 0);
if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#3.4: new Date(1900, 0, 1, 0, 0, 0) should not be undefined");
}
if (typeof new Date(1969, 11, 31, 23, 59, 59) !== "object") {
$ERROR("#4.1: typeof new Date(1969, 11, 31, 23, 59, 59) should be 'object'");
throw new Test262Error("#4.1: typeof new Date(1969, 11, 31, 23, 59, 59) should be 'object'");
}
if (new Date(1969, 11, 31, 23, 59, 59) === undefined) {
$ERROR("#4.2: new Date(1969, 11, 31, 23, 59, 59) should not be undefined");
throw new Test262Error("#4.2: new Date(1969, 11, 31, 23, 59, 59) should not be undefined");
}
var x43 = new Date(1969, 11, 31, 23, 59, 59);
if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59) should be 'object'");
throw new Test262Error("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59) should be 'object'");
}
var x44 = new Date(1969, 11, 31, 23, 59, 59);
if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11, 31, 23, 59, 59) should not be undefined");
throw new Test262Error("#4.4: new Date(1969, 11, 31, 23, 59, 59) should not be undefined");
}
if (typeof new Date(1969, 12, 1, 0, 0, 0) !== "object") {
$ERROR("#5.1: typeof new Date(1969, 12, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#5.1: typeof new Date(1969, 12, 1, 0, 0, 0) should be 'object'");
}
if (new Date(1969, 12, 1, 0, 0, 0) === undefined) {
$ERROR("#5.2: new Date(1969, 12, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#5.2: new Date(1969, 12, 1, 0, 0, 0) should not be undefined");
}
var x53 = new Date(1969, 12, 1, 0, 0, 0);
if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0) should be 'object'");
}
var x54 = new Date(1969, 12, 1, 0, 0, 0);
if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#5.4: new Date(1969, 12, 1, 0, 0, 0) should not be undefined");
}
if (typeof new Date(1970, 0, 1, 0, 0, 0) !== "object") {
$ERROR("#6.1: typeof new Date(1970, 0, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#6.1: typeof new Date(1970, 0, 1, 0, 0, 0) should be 'object'");
}
if (new Date(1970, 0, 1, 0, 0, 0) === undefined) {
$ERROR("#6.2: new Date(1970, 0, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#6.2: new Date(1970, 0, 1, 0, 0, 0) should not be undefined");
}
var x63 = new Date(1970, 0, 1, 0, 0, 0);
if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0) should be 'object'");
}
var x64 = new Date(1970, 0, 1, 0, 0, 0);
if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#6.4: new Date(1970, 0, 1, 0, 0, 0) should not be undefined");
}
if (typeof new Date(1999, 11, 31, 23, 59, 59) !== "object") {
$ERROR("#7.1: typeof new Date(1999, 11, 31, 23, 59, 59) should be 'object'");
throw new Test262Error("#7.1: typeof new Date(1999, 11, 31, 23, 59, 59) should be 'object'");
}
if (new Date(1999, 11, 31, 23, 59, 59) === undefined) {
$ERROR("#7.2: new Date(1999, 11, 31, 23, 59, 59) should not be undefined");
throw new Test262Error("#7.2: new Date(1999, 11, 31, 23, 59, 59) should not be undefined");
}
var x73 = new Date(1999, 11, 31, 23, 59, 59);
if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59) should be 'object'");
throw new Test262Error("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59) should be 'object'");
}
var x74 = new Date(1999, 11, 31, 23, 59, 59);
if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11, 31, 23, 59, 59) should not be undefined");
throw new Test262Error("#7.4: new Date(1999, 11, 31, 23, 59, 59) should not be undefined");
}
if (typeof new Date(1999, 12, 1, 0, 0, 0) !== "object") {
$ERROR("#8.1: typeof new Date(1999, 12, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#8.1: typeof new Date(1999, 12, 1, 0, 0, 0) should be 'object'");
}
if (new Date(1999, 12, 1, 0, 0, 0) === undefined) {
$ERROR("#8.2: new Date(1999, 12, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#8.2: new Date(1999, 12, 1, 0, 0, 0) should not be undefined");
}
var x83 = new Date(1999, 12, 1, 0, 0, 0);
if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0) should be 'object'");
}
var x84 = new Date(1999, 12, 1, 0, 0, 0);
if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#8.4: new Date(1999, 12, 1, 0, 0, 0) should not be undefined");
}
if (typeof new Date(2000, 0, 1, 0, 0, 0) !== "object") {
$ERROR("#9.1: typeof new Date(2000, 0, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#9.1: typeof new Date(2000, 0, 1, 0, 0, 0) should be 'object'");
}
if (new Date(2000, 0, 1, 0, 0, 0) === undefined) {
$ERROR("#9.2: new Date(2000, 0, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#9.2: new Date(2000, 0, 1, 0, 0, 0) should not be undefined");
}
var x93 = new Date(2000, 0, 1, 0, 0, 0);
if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0) should be 'object'");
}
var x94 = new Date(2000, 0, 1, 0, 0, 0);
if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#9.4: new Date(2000, 0, 1, 0, 0, 0) should not be undefined");
}
if (typeof new Date(2099, 11, 31, 23, 59, 59) !== "object") {
$ERROR("#10.1: typeof new Date(2099, 11, 31, 23, 59, 59) should be 'object'");
throw new Test262Error("#10.1: typeof new Date(2099, 11, 31, 23, 59, 59) should be 'object'");
}
if (new Date(2099, 11, 31, 23, 59, 59) === undefined) {
$ERROR("#10.2: new Date(2099, 11, 31, 23, 59, 59) should not be undefined");
throw new Test262Error("#10.2: new Date(2099, 11, 31, 23, 59, 59) should not be undefined");
}
var x103 = new Date(2099, 11, 31, 23, 59, 59);
if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59) should be 'object'");
throw new Test262Error("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59) should be 'object'");
}
var x104 = new Date(2099, 11, 31, 23, 59, 59);
if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11, 31, 23, 59, 59) should not be undefined");
throw new Test262Error("#10.4: new Date(2099, 11, 31, 23, 59, 59) should not be undefined");
}
if (typeof new Date(2099, 12, 1, 0, 0, 0) !== "object") {
$ERROR("#11.1: typeof new Date(2099, 12, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#11.1: typeof new Date(2099, 12, 1, 0, 0, 0) should be 'object'");
}
if (new Date(2099, 12, 1, 0, 0, 0) === undefined) {
$ERROR("#11.2: new Date(2099, 12, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#11.2: new Date(2099, 12, 1, 0, 0, 0) should not be undefined");
}
var x113 = new Date(2099, 12, 1, 0, 0, 0);
if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0) should be 'object'");
}
var x114 = new Date(2099, 12, 1, 0, 0, 0);
if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#11.4: new Date(2099, 12, 1, 0, 0, 0) should not be undefined");
}
if (typeof new Date(2100, 0, 1, 0, 0, 0) !== "object") {
$ERROR("#12.1: typeof new Date(2100, 0, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#12.1: typeof new Date(2100, 0, 1, 0, 0, 0) should be 'object'");
}
if (new Date(2100, 0, 1, 0, 0, 0) === undefined) {
$ERROR("#12.2: new Date(2100, 0, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#12.2: new Date(2100, 0, 1, 0, 0, 0) should not be undefined");
}
var x123 = new Date(2100, 0, 1, 0, 0, 0);
if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0) should be 'object'");
throw new Test262Error("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0) should be 'object'");
}
var x124 = new Date(2100, 0, 1, 0, 0, 0);
if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0, 1, 0, 0, 0) should not be undefined");
throw new Test262Error("#12.4: new Date(2100, 0, 1, 0, 0, 0) should not be undefined");
}

View File

@ -10,217 +10,217 @@ description: 7 arguments, (year, month, date, hours, minutes, seconds, ms)
---*/
if (typeof new Date(1899, 11, 31, 23, 59, 59, 999) !== "object") {
$ERROR("#1.1: typeof new Date(1899, 11, 31, 23, 59, 59, 999) should be 'object'");
throw new Test262Error("#1.1: typeof new Date(1899, 11, 31, 23, 59, 59, 999) should be 'object'");
}
if (new Date(1899, 11, 31, 23, 59, 59, 999) === undefined) {
$ERROR("#1.2: new Date(1899, 11, 31, 23, 59, 59, 999) should not be undefined");
throw new Test262Error("#1.2: new Date(1899, 11, 31, 23, 59, 59, 999) should not be undefined");
}
var x13 = new Date(1899, 11, 31, 23, 59, 59, 999);
if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59, 999) should be 'object'");
throw new Test262Error("#1.3: typeof new Date(1899, 11, 31, 23, 59, 59, 999) should be 'object'");
}
var x14 = new Date(1899, 11, 31, 23, 59, 59, 999);
if (x14 === undefined) {
$ERROR("#1.4: new Date(1899, 11, 31, 23, 59, 59, 999) should not be undefined");
throw new Test262Error("#1.4: new Date(1899, 11, 31, 23, 59, 59, 999) should not be undefined");
}
if (typeof new Date(1899, 12, 1, 0, 0, 0, 0) !== "object") {
$ERROR("#2.1: typeof new Date(1899, 12, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#2.1: typeof new Date(1899, 12, 1, 0, 0, 0, 0) should be 'object'");
}
if (new Date(1899, 12, 1, 0, 0, 0, 0) === undefined) {
$ERROR("#2.2: new Date(1899, 12, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#2.2: new Date(1899, 12, 1, 0, 0, 0, 0) should not be undefined");
}
var x23 = new Date(1899, 12, 1, 0, 0, 0, 0);
if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#2.3: typeof new Date(1899, 12, 1, 0, 0, 0, 0) should be 'object'");
}
var x24 = new Date(1899, 12, 1, 0, 0, 0, 0);
if (x24 === undefined) {
$ERROR("#2.4: new Date(1899, 12, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#2.4: new Date(1899, 12, 1, 0, 0, 0, 0) should not be undefined");
}
if (typeof new Date(1900, 0, 1, 0, 0, 0, 0) !== "object") {
$ERROR("#3.1: typeof new Date(1900, 0, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#3.1: typeof new Date(1900, 0, 1, 0, 0, 0, 0) should be 'object'");
}
if (new Date(1900, 0, 1, 0, 0, 0, 0) === undefined) {
$ERROR("#3.2: new Date(1900, 0, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#3.2: new Date(1900, 0, 1, 0, 0, 0, 0) should not be undefined");
}
var x33 = new Date(1900, 0, 1, 0, 0, 0, 0);
if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#3.3: typeof new Date(1900, 0, 1, 0, 0, 0, 0) should be 'object'");
}
var x34 = new Date(1900, 0, 1, 0, 0, 0, 0);
if (x34 === undefined) {
$ERROR("#3.4: new Date(1900, 0, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#3.4: new Date(1900, 0, 1, 0, 0, 0, 0) should not be undefined");
}
if (typeof new Date(1969, 11, 31, 23, 59, 59, 999) !== "object") {
$ERROR("#4.1: typeof new Date(1969, 11, 31, 23, 59, 59, 999) should be 'object'");
throw new Test262Error("#4.1: typeof new Date(1969, 11, 31, 23, 59, 59, 999) should be 'object'");
}
if (new Date(1969, 11, 31, 23, 59, 59, 999) === undefined) {
$ERROR("#4.2: new Date(1969, 11, 31, 23, 59, 59, 999) should not be undefined");
throw new Test262Error("#4.2: new Date(1969, 11, 31, 23, 59, 59, 999) should not be undefined");
}
var x43 = new Date(1969, 11, 31, 23, 59, 59, 999);
if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59, 999) should be 'object'");
throw new Test262Error("#4.3: typeof new Date(1969, 11, 31, 23, 59, 59, 999) should be 'object'");
}
var x44 = new Date(1969, 11, 31, 23, 59, 59, 999);
if (x44 === undefined) {
$ERROR("#4.4: new Date(1969, 11, 31, 23, 59, 59, 999) should not be undefined");
throw new Test262Error("#4.4: new Date(1969, 11, 31, 23, 59, 59, 999) should not be undefined");
}
if (typeof new Date(1969, 12, 1, 0, 0, 0, 0) !== "object") {
$ERROR("#5.1: typeof new Date(1969, 12, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#5.1: typeof new Date(1969, 12, 1, 0, 0, 0, 0) should be 'object'");
}
if (new Date(1969, 12, 1, 0, 0, 0, 0) === undefined) {
$ERROR("#5.2: new Date(1969, 12, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#5.2: new Date(1969, 12, 1, 0, 0, 0, 0) should not be undefined");
}
var x53 = new Date(1969, 12, 1, 0, 0, 0, 0);
if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#5.3: typeof new Date(1969, 12, 1, 0, 0, 0, 0) should be 'object'");
}
var x54 = new Date(1969, 12, 1, 0, 0, 0, 0);
if (x54 === undefined) {
$ERROR("#5.4: new Date(1969, 12, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#5.4: new Date(1969, 12, 1, 0, 0, 0, 0) should not be undefined");
}
if (typeof new Date(1970, 0, 1, 0, 0, 0, 0) !== "object") {
$ERROR("#6.1: typeof new Date(1970, 0, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#6.1: typeof new Date(1970, 0, 1, 0, 0, 0, 0) should be 'object'");
}
if (new Date(1970, 0, 1, 0, 0, 0, 0) === undefined) {
$ERROR("#6.2: new Date(1970, 0, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#6.2: new Date(1970, 0, 1, 0, 0, 0, 0) should not be undefined");
}
var x63 = new Date(1970, 0, 1, 0, 0, 0, 0);
if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#6.3: typeof new Date(1970, 0, 1, 0, 0, 0, 0) should be 'object'");
}
var x64 = new Date(1970, 0, 1, 0, 0, 0, 0);
if (x64 === undefined) {
$ERROR("#6.4: new Date(1970, 0, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#6.4: new Date(1970, 0, 1, 0, 0, 0, 0) should not be undefined");
}
if (typeof new Date(1999, 11, 31, 23, 59, 59, 999) !== "object") {
$ERROR("#7.1: typeof new Date(1999, 11, 31, 23, 59, 59, 999) should be 'object'");
throw new Test262Error("#7.1: typeof new Date(1999, 11, 31, 23, 59, 59, 999) should be 'object'");
}
if (new Date(1999, 11, 31, 23, 59, 59, 999) === undefined) {
$ERROR("#7.2: new Date(1999, 11, 31, 23, 59, 59, 999) should not be undefined");
throw new Test262Error("#7.2: new Date(1999, 11, 31, 23, 59, 59, 999) should not be undefined");
}
var x73 = new Date(1999, 11, 31, 23, 59, 59, 999);
if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59, 999) should be 'object'");
throw new Test262Error("#7.3: typeof new Date(1999, 11, 31, 23, 59, 59, 999) should be 'object'");
}
var x74 = new Date(1999, 11, 31, 23, 59, 59, 999);
if (x74 === undefined) {
$ERROR("#7.4: new Date(1999, 11, 31, 23, 59, 59, 999) should not be undefined");
throw new Test262Error("#7.4: new Date(1999, 11, 31, 23, 59, 59, 999) should not be undefined");
}
if (typeof new Date(1999, 12, 1, 0, 0, 0, 0) !== "object") {
$ERROR("#8.1: typeof new Date(1999, 12, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#8.1: typeof new Date(1999, 12, 1, 0, 0, 0, 0) should be 'object'");
}
if (new Date(1999, 12, 1, 0, 0, 0, 0) === undefined) {
$ERROR("#8.2: new Date(1999, 12, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#8.2: new Date(1999, 12, 1, 0, 0, 0, 0) should not be undefined");
}
var x83 = new Date(1999, 12, 1, 0, 0, 0, 0);
if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#8.3: typeof new Date(1999, 12, 1, 0, 0, 0, 0) should be 'object'");
}
var x84 = new Date(1999, 12, 1, 0, 0, 0, 0);
if (x84 === undefined) {
$ERROR("#8.4: new Date(1999, 12, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#8.4: new Date(1999, 12, 1, 0, 0, 0, 0) should not be undefined");
}
if (typeof new Date(2000, 0, 1, 0, 0, 0, 0) !== "object") {
$ERROR("#9.1: typeof new Date(2000, 0, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#9.1: typeof new Date(2000, 0, 1, 0, 0, 0, 0) should be 'object'");
}
if (new Date(2000, 0, 1, 0, 0, 0, 0) === undefined) {
$ERROR("#9.2: new Date(2000, 0, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#9.2: new Date(2000, 0, 1, 0, 0, 0, 0) should not be undefined");
}
var x93 = new Date(2000, 0, 1, 0, 0, 0, 0);
if (typeof x93 !== "object") {
$ERROR("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#9.3: typeof new Date(2000, 0, 1, 0, 0, 0, 0) should be 'object'");
}
var x94 = new Date(2000, 0, 1, 0, 0, 0, 0);
if (x94 === undefined) {
$ERROR("#9.4: new Date(2000, 0, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#9.4: new Date(2000, 0, 1, 0, 0, 0, 0) should not be undefined");
}
if (typeof new Date(2099, 11, 31, 23, 59, 59, 999) !== "object") {
$ERROR("#10.1: typeof new Date(2099, 11, 31, 23, 59, 59, 999) should be 'object'");
throw new Test262Error("#10.1: typeof new Date(2099, 11, 31, 23, 59, 59, 999) should be 'object'");
}
if (new Date(2099, 11, 31, 23, 59, 59, 999) === undefined) {
$ERROR("#10.2: new Date(2099, 11, 31, 23, 59, 59, 999) should not be undefined");
throw new Test262Error("#10.2: new Date(2099, 11, 31, 23, 59, 59, 999) should not be undefined");
}
var x103 = new Date(2099, 11, 31, 23, 59, 59, 999);
if (typeof x103 !== "object") {
$ERROR("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59, 999) should be 'object'");
throw new Test262Error("#10.3: typeof new Date(2099, 11, 31, 23, 59, 59, 999) should be 'object'");
}
var x104 = new Date(2099, 11, 31, 23, 59, 59, 999);
if (x104 === undefined) {
$ERROR("#10.4: new Date(2099, 11, 31, 23, 59, 59, 999) should not be undefined");
throw new Test262Error("#10.4: new Date(2099, 11, 31, 23, 59, 59, 999) should not be undefined");
}
if (typeof new Date(2099, 12, 1, 0, 0, 0, 0) !== "object") {
$ERROR("#11.1: typeof new Date(2099, 12, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#11.1: typeof new Date(2099, 12, 1, 0, 0, 0, 0) should be 'object'");
}
if (new Date(2099, 12, 1, 0, 0, 0, 0) === undefined) {
$ERROR("#11.2: new Date(2099, 12, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#11.2: new Date(2099, 12, 1, 0, 0, 0, 0) should not be undefined");
}
var x113 = new Date(2099, 12, 1, 0, 0, 0, 0);
if (typeof x113 !== "object") {
$ERROR("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#11.3: typeof new Date(2099, 12, 1, 0, 0, 0, 0) should be 'object'");
}
var x114 = new Date(2099, 12, 1, 0, 0, 0, 0);
if (x114 === undefined) {
$ERROR("#11.4: new Date(2099, 12, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#11.4: new Date(2099, 12, 1, 0, 0, 0, 0) should not be undefined");
}
if (typeof new Date(2100, 0, 1, 0, 0, 0, 0) !== "object") {
$ERROR("#12.1: typeof new Date(2100, 0, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#12.1: typeof new Date(2100, 0, 1, 0, 0, 0, 0) should be 'object'");
}
if (new Date(2100, 0, 1, 0, 0, 0, 0) === undefined) {
$ERROR("#12.2: new Date(2100, 0, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#12.2: new Date(2100, 0, 1, 0, 0, 0, 0) should not be undefined");
}
var x123 = new Date(2100, 0, 1, 0, 0, 0, 0);
if (typeof x123 !== "object") {
$ERROR("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0, 0) should be 'object'");
throw new Test262Error("#12.3: typeof new Date(2100, 0, 1, 0, 0, 0, 0) should be 'object'");
}
var x124 = new Date(2100, 0, 1, 0, 0, 0, 0);
if (x124 === undefined) {
$ERROR("#12.4: new Date(2100, 0, 1, 0, 0, 0, 0) should not be undefined");
throw new Test262Error("#12.4: new Date(2100, 0, 1, 0, 0, 0, 0) should not be undefined");
}

View File

@ -12,180 +12,180 @@ description: 2 arguments, (year, month)
var x11 = new Date(1899, 11);
if (typeof x11.constructor.prototype !== "object") {
$ERROR("#1.1: typeof x11.constructor.prototype === 'object'");
throw new Test262Error("#1.1: typeof x11.constructor.prototype === 'object'");
}
var x12 = new Date(1899, 11);
if (!Date.prototype.isPrototypeOf(x12)) {
$ERROR('#1.2: Date.prototype.isPrototypeOf(x12)');
throw new Test262Error('#1.2: Date.prototype.isPrototypeOf(x12)');
}
var x13 = new Date(1899, 11);
if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype");
throw new Test262Error("#1.3: Date.prototype === x13.constructor.prototype");
}
var x21 = new Date(1899, 12);
if (typeof x21.constructor.prototype !== "object") {
$ERROR("#2.1: typeof x11.constructor.prototype === 'object'");
throw new Test262Error("#2.1: typeof x11.constructor.prototype === 'object'");
}
var x22 = new Date(1899, 12);
if (!Date.prototype.isPrototypeOf(x22)) {
$ERROR('#2.2: Date.prototype.isPrototypeOf(x22)');
throw new Test262Error('#2.2: Date.prototype.isPrototypeOf(x22)');
}
var x23 = new Date(1899, 12);
if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype");
throw new Test262Error("#2.3: Date.prototype === x23.constructor.prototype");
}
var x31 = new Date(1900, 0);
if (typeof x31.constructor.prototype !== "object") {
$ERROR("#3.1: typeof x31.constructor.prototype === 'object'");
throw new Test262Error("#3.1: typeof x31.constructor.prototype === 'object'");
}
var x32 = new Date(1900, 0);
if (!Date.prototype.isPrototypeOf(x32)) {
$ERROR('#3.2: Date.prototype.isPrototypeOf(x32)');
throw new Test262Error('#3.2: Date.prototype.isPrototypeOf(x32)');
}
var x33 = new Date(1900, 0);
if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype");
throw new Test262Error("#3.3: Date.prototype === x33.constructor.prototype");
}
var x41 = new Date(1969, 11);
if (typeof x41.constructor.prototype !== "object") {
$ERROR("#4.1: typeof x41.constructor.prototype === 'object'");
throw new Test262Error("#4.1: typeof x41.constructor.prototype === 'object'");
}
var x42 = new Date(1969, 11);
if (!Date.prototype.isPrototypeOf(x42)) {
$ERROR('#4.2: Date.prototype.isPrototypeOf(x42)');
throw new Test262Error('#4.2: Date.prototype.isPrototypeOf(x42)');
}
var x43 = new Date(1969, 11);
if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype");
throw new Test262Error("#4.3: Date.prototype === x43.constructor.prototype");
}
var x51 = new Date(1969, 12);
if (typeof x51.constructor.prototype !== "object") {
$ERROR("#5.1: typeof x51.constructor.prototype === 'object'");
throw new Test262Error("#5.1: typeof x51.constructor.prototype === 'object'");
}
var x52 = new Date(1969, 12);
if (!Date.prototype.isPrototypeOf(x52)) {
$ERROR('#5.2: Date.prototype.isPrototypeOf(x52)');
throw new Test262Error('#5.2: Date.prototype.isPrototypeOf(x52)');
}
var x53 = new Date(1969, 12);
if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype");
throw new Test262Error("#5.3: Date.prototype === x53.constructor.prototype");
}
var x61 = new Date(1970, 0);
if (typeof x61.constructor.prototype !== "object") {
$ERROR("#6.1: typeof x61.constructor.prototype === 'object'");
throw new Test262Error("#6.1: typeof x61.constructor.prototype === 'object'");
}
var x62 = new Date(1970, 0);
if (!Date.prototype.isPrototypeOf(x62)) {
$ERROR('#6.2: Date.prototype.isPrototypeOf(x62)');
throw new Test262Error('#6.2: Date.prototype.isPrototypeOf(x62)');
}
var x63 = new Date(1970, 0);
if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype");
throw new Test262Error("#6.3: Date.prototype === x63.constructor.prototype");
}
var x71 = new Date(1999, 11);
if (typeof x71.constructor.prototype !== "object") {
$ERROR("#7.1: typeof x71.constructor.prototype === 'object'");
throw new Test262Error("#7.1: typeof x71.constructor.prototype === 'object'");
}
var x72 = new Date(1999, 11);
if (!Date.prototype.isPrototypeOf(x72)) {
$ERROR('#7.2: Date.prototype.isPrototypeOf(x72)');
throw new Test262Error('#7.2: Date.prototype.isPrototypeOf(x72)');
}
var x73 = new Date(1999, 11);
if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype");
throw new Test262Error("#7.3: Date.prototype === x73.constructor.prototype");
}
var x81 = new Date(1999, 12);
if (typeof x81.constructor.prototype !== "object") {
$ERROR("#8.1: typeof x81.constructor.prototype === 'object'");
throw new Test262Error("#8.1: typeof x81.constructor.prototype === 'object'");
}
var x82 = new Date(1999, 12);
if (!Date.prototype.isPrototypeOf(x82)) {
$ERROR('#8.2: Date.prototype.isPrototypeOf(x82)');
throw new Test262Error('#8.2: Date.prototype.isPrototypeOf(x82)');
}
var x83 = new Date(1999, 12);
if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype");
throw new Test262Error("#8.3: Date.prototype === x83.constructor.prototype");
}
var x91 = new Date(2000, 0);
if (typeof x91.constructor.prototype !== "object") {
$ERROR("#9.1: typeof x91.constructor.prototype === 'object'");
throw new Test262Error("#9.1: typeof x91.constructor.prototype === 'object'");
}
var x92 = new Date(2000, 0);
if (!Date.prototype.isPrototypeOf(x92)) {
$ERROR('#9.2: Date.prototype.isPrototypeOf(x92)');
throw new Test262Error('#9.2: Date.prototype.isPrototypeOf(x92)');
}
var x93 = new Date(2000, 0);
if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype");
throw new Test262Error("#9.3: Date.prototype === x93.constructor.prototype");
}
var x101 = new Date(2099, 11);
if (typeof x101.constructor.prototype !== "object") {
$ERROR("#10.1: typeof x101.constructor.prototype === 'object'");
throw new Test262Error("#10.1: typeof x101.constructor.prototype === 'object'");
}
var x102 = new Date(2099, 11);
if (!Date.prototype.isPrototypeOf(x102)) {
$ERROR('#10.2: Date.prototype.isPrototypeOf(x102)');
throw new Test262Error('#10.2: Date.prototype.isPrototypeOf(x102)');
}
var x103 = new Date(2099, 11);
if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype");
throw new Test262Error("#10.3: Date.prototype === x103.constructor.prototype");
}
var x111 = new Date(2099, 12);
if (typeof x111.constructor.prototype !== "object") {
$ERROR("#11.1: typeof x111.constructor.prototype === 'object'");
throw new Test262Error("#11.1: typeof x111.constructor.prototype === 'object'");
}
var x112 = new Date(2099, 12);
if (!Date.prototype.isPrototypeOf(x112)) {
$ERROR('#11.2: Date.prototype.isPrototypeOf(x112)');
throw new Test262Error('#11.2: Date.prototype.isPrototypeOf(x112)');
}
var x113 = new Date(2099, 12);
if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype");
throw new Test262Error("#11.3: Date.prototype === x113.constructor.prototype");
}
var x121 = new Date(2100, 0);
if (typeof x121.constructor.prototype !== "object") {
$ERROR("#12.1: typeof x121.constructor.prototype === 'object'");
throw new Test262Error("#12.1: typeof x121.constructor.prototype === 'object'");
}
var x122 = new Date(2100, 0);
if (!Date.prototype.isPrototypeOf(x122)) {
$ERROR('#12.2: Date.prototype.isPrototypeOf(x122)');
throw new Test262Error('#12.2: Date.prototype.isPrototypeOf(x122)');
}
var x123 = new Date(2100, 0);
if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype");
throw new Test262Error("#12.3: Date.prototype === x123.constructor.prototype");
}

View File

@ -12,180 +12,180 @@ description: 3 arguments, (year, month, date)
var x11 = new Date(1899, 11, 31);
if (typeof x11.constructor.prototype !== "object") {
$ERROR("#1.1: typeof x11.constructor.prototype === 'object'");
throw new Test262Error("#1.1: typeof x11.constructor.prototype === 'object'");
}
var x12 = new Date(1899, 11, 31);
if (!Date.prototype.isPrototypeOf(x12)) {
$ERROR('#1.2: Date.prototype.isPrototypeOf(x12)');
throw new Test262Error('#1.2: Date.prototype.isPrototypeOf(x12)');
}
var x13 = new Date(1899, 11, 31);
if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype");
throw new Test262Error("#1.3: Date.prototype === x13.constructor.prototype");
}
var x21 = new Date(1899, 12, 1);
if (typeof x21.constructor.prototype !== "object") {
$ERROR("#2.1: typeof x21.constructor.prototype === 'object'");
throw new Test262Error("#2.1: typeof x21.constructor.prototype === 'object'");
}
var x22 = new Date(1899, 12, 1);
if (!Date.prototype.isPrototypeOf(x22)) {
$ERROR('#2.2: Date.prototype.isPrototypeOf(x22)');
throw new Test262Error('#2.2: Date.prototype.isPrototypeOf(x22)');
}
var x23 = new Date(1899, 12, 1);
if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype");
throw new Test262Error("#2.3: Date.prototype === x23.constructor.prototype");
}
var x31 = new Date(1900, 0, 1);
if (typeof x31.constructor.prototype !== "object") {
$ERROR("#3.1: typeof x31.constructor.prototype === 'object'");
throw new Test262Error("#3.1: typeof x31.constructor.prototype === 'object'");
}
var x32 = new Date(1900, 0, 1);
if (!Date.prototype.isPrototypeOf(x32)) {
$ERROR('#3.2: Date.prototype.isPrototypeOf(x32)');
throw new Test262Error('#3.2: Date.prototype.isPrototypeOf(x32)');
}
var x33 = new Date(1900, 0, 1);
if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype");
throw new Test262Error("#3.3: Date.prototype === x33.constructor.prototype");
}
var x41 = new Date(1969, 11, 31);
if (typeof x41.constructor.prototype !== "object") {
$ERROR("#4.1: typeof x41.constructor.prototype === 'object'");
throw new Test262Error("#4.1: typeof x41.constructor.prototype === 'object'");
}
var x42 = new Date(1969, 11, 31);
if (!Date.prototype.isPrototypeOf(x42)) {
$ERROR('#4.2: Date.prototype.isPrototypeOf(x42)');
throw new Test262Error('#4.2: Date.prototype.isPrototypeOf(x42)');
}
var x43 = new Date(1969, 11, 31);
if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype");
throw new Test262Error("#4.3: Date.prototype === x43.constructor.prototype");
}
var x51 = new Date(1969, 12, 1);
if (typeof x51.constructor.prototype !== "object") {
$ERROR("#5.1: typeof x51.constructor.prototype === 'object'");
throw new Test262Error("#5.1: typeof x51.constructor.prototype === 'object'");
}
var x52 = new Date(1969, 12, 1);
if (!Date.prototype.isPrototypeOf(x52)) {
$ERROR('#5.2: Date.prototype.isPrototypeOf(x52)');
throw new Test262Error('#5.2: Date.prototype.isPrototypeOf(x52)');
}
var x53 = new Date(1969, 12, 1);
if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype");
throw new Test262Error("#5.3: Date.prototype === x53.constructor.prototype");
}
var x61 = new Date(1970, 0, 1);
if (typeof x61.constructor.prototype !== "object") {
$ERROR("#6.1: typeof x61.constructor.prototype === 'object'");
throw new Test262Error("#6.1: typeof x61.constructor.prototype === 'object'");
}
var x62 = new Date(1970, 0, 1);
if (!Date.prototype.isPrototypeOf(x62)) {
$ERROR('#6.2: Date.prototype.isPrototypeOf(x62)');
throw new Test262Error('#6.2: Date.prototype.isPrototypeOf(x62)');
}
var x63 = new Date(1970, 0, 1);
if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype");
throw new Test262Error("#6.3: Date.prototype === x63.constructor.prototype");
}
var x71 = new Date(1999, 11, 31);
if (typeof x71.constructor.prototype !== "object") {
$ERROR("#7.1: typeof x71.constructor.prototype === 'object'");
throw new Test262Error("#7.1: typeof x71.constructor.prototype === 'object'");
}
var x72 = new Date(1999, 11, 31);
if (!Date.prototype.isPrototypeOf(x72)) {
$ERROR('#7.2: Date.prototype.isPrototypeOf(x72)');
throw new Test262Error('#7.2: Date.prototype.isPrototypeOf(x72)');
}
var x73 = new Date(1999, 11, 31);
if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype");
throw new Test262Error("#7.3: Date.prototype === x73.constructor.prototype");
}
var x81 = new Date(1999, 12, 1);
if (typeof x81.constructor.prototype !== "object") {
$ERROR("#8.1: typeof x81.constructor.prototype === 'object'");
throw new Test262Error("#8.1: typeof x81.constructor.prototype === 'object'");
}
var x82 = new Date(1999, 12, 1);
if (!Date.prototype.isPrototypeOf(x82)) {
$ERROR('#8.2: Date.prototype.isPrototypeOf(x82)');
throw new Test262Error('#8.2: Date.prototype.isPrototypeOf(x82)');
}
var x83 = new Date(1999, 12, 1);
if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype");
throw new Test262Error("#8.3: Date.prototype === x83.constructor.prototype");
}
var x91 = new Date(2000, 0, 1);
if (typeof x91.constructor.prototype !== "object") {
$ERROR("#9.1: typeof x91.constructor.prototype === 'object'");
throw new Test262Error("#9.1: typeof x91.constructor.prototype === 'object'");
}
var x92 = new Date(2000, 0, 1);
if (!Date.prototype.isPrototypeOf(x92)) {
$ERROR('#9.2: Date.prototype.isPrototypeOf(x92)');
throw new Test262Error('#9.2: Date.prototype.isPrototypeOf(x92)');
}
var x93 = new Date(2000, 0, 1);
if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype");
throw new Test262Error("#9.3: Date.prototype === x93.constructor.prototype");
}
var x101 = new Date(2099, 11, 31);
if (typeof x101.constructor.prototype !== "object") {
$ERROR("#10.1: typeof x101.constructor.prototype === 'object'");
throw new Test262Error("#10.1: typeof x101.constructor.prototype === 'object'");
}
var x102 = new Date(2099, 11, 31);
if (!Date.prototype.isPrototypeOf(x102)) {
$ERROR('#10.2: Date.prototype.isPrototypeOf(x102)');
throw new Test262Error('#10.2: Date.prototype.isPrototypeOf(x102)');
}
var x103 = new Date(2099, 11, 31);
if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype");
throw new Test262Error("#10.3: Date.prototype === x103.constructor.prototype");
}
var x111 = new Date(2099, 12, 1);
if (typeof x111.constructor.prototype !== "object") {
$ERROR("#11.1: typeof x111.constructor.prototype === 'object'");
throw new Test262Error("#11.1: typeof x111.constructor.prototype === 'object'");
}
var x112 = new Date(2099, 12, 1);
if (!Date.prototype.isPrototypeOf(x112)) {
$ERROR('#11.2: Date.prototype.isPrototypeOf(x112)');
throw new Test262Error('#11.2: Date.prototype.isPrototypeOf(x112)');
}
var x113 = new Date(2099, 12, 1);
if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype");
throw new Test262Error("#11.3: Date.prototype === x113.constructor.prototype");
}
var x121 = new Date(2100, 0, 1);
if (typeof x121.constructor.prototype !== "object") {
$ERROR("#12.1: typeof x121.constructor.prototype === 'object'");
throw new Test262Error("#12.1: typeof x121.constructor.prototype === 'object'");
}
var x122 = new Date(2100, 0, 1);
if (!Date.prototype.isPrototypeOf(x122)) {
$ERROR('#12.2: Date.prototype.isPrototypeOf(x122)');
throw new Test262Error('#12.2: Date.prototype.isPrototypeOf(x122)');
}
var x123 = new Date(2100, 0, 1);
if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype");
throw new Test262Error("#12.3: Date.prototype === x123.constructor.prototype");
}

View File

@ -12,180 +12,180 @@ description: 4 arguments, (year, month, date, hours)
var x11 = new Date(1899, 11, 31, 23);
if (typeof x11.constructor.prototype !== "object") {
$ERROR("#1.1: typeof x11.constructor.prototype === 'object'");
throw new Test262Error("#1.1: typeof x11.constructor.prototype === 'object'");
}
var x12 = new Date(1899, 11, 31, 23);
if (!Date.prototype.isPrototypeOf(x12)) {
$ERROR('#1.2: Date.prototype.isPrototypeOf(x12)');
throw new Test262Error('#1.2: Date.prototype.isPrototypeOf(x12)');
}
var x13 = new Date(1899, 11, 31, 23);
if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype");
throw new Test262Error("#1.3: Date.prototype === x13.constructor.prototype");
}
var x21 = new Date(1899, 12, 1, 0);
if (typeof x21.constructor.prototype !== "object") {
$ERROR("#2.1: typeof x21.constructor.prototype === 'object'");
throw new Test262Error("#2.1: typeof x21.constructor.prototype === 'object'");
}
var x22 = new Date(1899, 12, 1, 0);
if (!Date.prototype.isPrototypeOf(x22)) {
$ERROR('#2.2: Date.prototype.isPrototypeOf(x22)');
throw new Test262Error('#2.2: Date.prototype.isPrototypeOf(x22)');
}
var x23 = new Date(1899, 12, 1, 0);
if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype");
throw new Test262Error("#2.3: Date.prototype === x23.constructor.prototype");
}
var x31 = new Date(1900, 0, 1, 0);
if (typeof x31.constructor.prototype !== "object") {
$ERROR("#3.1: typeof x31.constructor.prototype === 'object'");
throw new Test262Error("#3.1: typeof x31.constructor.prototype === 'object'");
}
var x32 = new Date(1900, 0, 1, 0);
if (!Date.prototype.isPrototypeOf(x32)) {
$ERROR('#3.2: Date.prototype.isPrototypeOf(x32)');
throw new Test262Error('#3.2: Date.prototype.isPrototypeOf(x32)');
}
var x33 = new Date(1900, 0, 1, 0);
if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype");
throw new Test262Error("#3.3: Date.prototype === x33.constructor.prototype");
}
var x41 = new Date(1969, 11, 31, 23);
if (typeof x41.constructor.prototype !== "object") {
$ERROR("#4.1: typeof x41.constructor.prototype === 'object'");
throw new Test262Error("#4.1: typeof x41.constructor.prototype === 'object'");
}
var x42 = new Date(1969, 11, 31, 23);
if (!Date.prototype.isPrototypeOf(x42)) {
$ERROR('#4.2: Date.prototype.isPrototypeOf(x42)');
throw new Test262Error('#4.2: Date.prototype.isPrototypeOf(x42)');
}
var x43 = new Date(1969, 11, 31, 23);
if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype");
throw new Test262Error("#4.3: Date.prototype === x43.constructor.prototype");
}
var x51 = new Date(1969, 12, 1, 0);
if (typeof x51.constructor.prototype !== "object") {
$ERROR("#5.1: typeof x51.constructor.prototype === 'object'");
throw new Test262Error("#5.1: typeof x51.constructor.prototype === 'object'");
}
var x52 = new Date(1969, 12, 1, 0);
if (!Date.prototype.isPrototypeOf(x52)) {
$ERROR('#5.2: Date.prototype.isPrototypeOf(x52)');
throw new Test262Error('#5.2: Date.prototype.isPrototypeOf(x52)');
}
var x53 = new Date(1969, 12, 1, 0);
if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype");
throw new Test262Error("#5.3: Date.prototype === x53.constructor.prototype");
}
var x61 = new Date(1970, 0, 1, 0);
if (typeof x61.constructor.prototype !== "object") {
$ERROR("#6.1: typeof x61.constructor.prototype === 'object'");
throw new Test262Error("#6.1: typeof x61.constructor.prototype === 'object'");
}
var x62 = new Date(1970, 0, 1, 0);
if (!Date.prototype.isPrototypeOf(x62)) {
$ERROR('#6.2: Date.prototype.isPrototypeOf(x62)');
throw new Test262Error('#6.2: Date.prototype.isPrototypeOf(x62)');
}
var x63 = new Date(1970, 0, 1, 0);
if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype");
throw new Test262Error("#6.3: Date.prototype === x63.constructor.prototype");
}
var x71 = new Date(1999, 11, 31, 23);
if (typeof x71.constructor.prototype !== "object") {
$ERROR("#7.1: typeof x71.constructor.prototype === 'object'");
throw new Test262Error("#7.1: typeof x71.constructor.prototype === 'object'");
}
var x72 = new Date(1999, 11, 31, 23);
if (!Date.prototype.isPrototypeOf(x72)) {
$ERROR('#7.2: Date.prototype.isPrototypeOf(x72)');
throw new Test262Error('#7.2: Date.prototype.isPrototypeOf(x72)');
}
var x73 = new Date(1999, 11, 31, 23);
if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype");
throw new Test262Error("#7.3: Date.prototype === x73.constructor.prototype");
}
var x81 = new Date(1999, 12, 1, 0);
if (typeof x81.constructor.prototype !== "object") {
$ERROR("#8.1: typeof x81.constructor.prototype === 'object'");
throw new Test262Error("#8.1: typeof x81.constructor.prototype === 'object'");
}
var x82 = new Date(1999, 12, 1, 0);
if (!Date.prototype.isPrototypeOf(x82)) {
$ERROR('#8.2: Date.prototype.isPrototypeOf(x82)');
throw new Test262Error('#8.2: Date.prototype.isPrototypeOf(x82)');
}
var x83 = new Date(1999, 12, 1, 0);
if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype");
throw new Test262Error("#8.3: Date.prototype === x83.constructor.prototype");
}
var x91 = new Date(2000, 0, 1, 0);
if (typeof x91.constructor.prototype !== "object") {
$ERROR("#9.1: typeof x91.constructor.prototype === 'object'");
throw new Test262Error("#9.1: typeof x91.constructor.prototype === 'object'");
}
var x92 = new Date(2000, 0, 1, 0);
if (!Date.prototype.isPrototypeOf(x92)) {
$ERROR('#9.2: Date.prototype.isPrototypeOf(x92)');
throw new Test262Error('#9.2: Date.prototype.isPrototypeOf(x92)');
}
var x93 = new Date(2000, 0, 1, 0);
if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype");
throw new Test262Error("#9.3: Date.prototype === x93.constructor.prototype");
}
var x101 = new Date(2099, 11, 31, 23);
if (typeof x101.constructor.prototype !== "object") {
$ERROR("#10.1: typeof x101.constructor.prototype === 'object'");
throw new Test262Error("#10.1: typeof x101.constructor.prototype === 'object'");
}
var x102 = new Date(2099, 11, 31, 23);
if (!Date.prototype.isPrototypeOf(x102)) {
$ERROR('#10.2: Date.prototype.isPrototypeOf(x102)');
throw new Test262Error('#10.2: Date.prototype.isPrototypeOf(x102)');
}
var x103 = new Date(2099, 11, 31, 23);
if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype");
throw new Test262Error("#10.3: Date.prototype === x103.constructor.prototype");
}
var x111 = new Date(2099, 12, 1, 0);
if (typeof x111.constructor.prototype !== "object") {
$ERROR("#11.1: typeof x111.constructor.prototype === 'object'");
throw new Test262Error("#11.1: typeof x111.constructor.prototype === 'object'");
}
var x112 = new Date(2099, 12, 1, 0);
if (!Date.prototype.isPrototypeOf(x112)) {
$ERROR('#11.2: Date.prototype.isPrototypeOf(x112)');
throw new Test262Error('#11.2: Date.prototype.isPrototypeOf(x112)');
}
var x113 = new Date(2099, 12, 1, 0);
if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype");
throw new Test262Error("#11.3: Date.prototype === x113.constructor.prototype");
}
var x121 = new Date(2100, 0, 1, 0);
if (typeof x121.constructor.prototype !== "object") {
$ERROR("#12.1: typeof x121.constructor.prototype === 'object'");
throw new Test262Error("#12.1: typeof x121.constructor.prototype === 'object'");
}
var x122 = new Date(2100, 0, 1, 0);
if (!Date.prototype.isPrototypeOf(x122)) {
$ERROR('#12.2: Date.prototype.isPrototypeOf(x122)');
throw new Test262Error('#12.2: Date.prototype.isPrototypeOf(x122)');
}
var x123 = new Date(2100, 0, 1, 0);
if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype");
throw new Test262Error("#12.3: Date.prototype === x123.constructor.prototype");
}

View File

@ -12,180 +12,180 @@ description: 5 arguments, (year, month, date, hours, minutes)
var x11 = new Date(1899, 11, 31, 23, 59);
if (typeof x11.constructor.prototype !== "object") {
$ERROR("#1.1: typeof x11.constructor.prototype === 'object'");
throw new Test262Error("#1.1: typeof x11.constructor.prototype === 'object'");
}
var x12 = new Date(1899, 11, 31, 23, 59);
if (!Date.prototype.isPrototypeOf(x12)) {
$ERROR('#1.2: Date.prototype.isPrototypeOf(x12)');
throw new Test262Error('#1.2: Date.prototype.isPrototypeOf(x12)');
}
var x13 = new Date(1899, 11, 31, 23, 59);
if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype");
throw new Test262Error("#1.3: Date.prototype === x13.constructor.prototype");
}
var x21 = new Date(1899, 12, 1, 0, 0);
if (typeof x21.constructor.prototype !== "object") {
$ERROR("#2.1: typeof x21.constructor.prototype === 'object'");
throw new Test262Error("#2.1: typeof x21.constructor.prototype === 'object'");
}
var x22 = new Date(1899, 12, 1, 0, 0);
if (!Date.prototype.isPrototypeOf(x22)) {
$ERROR('#2.2: Date.prototype.isPrototypeOf(x22)');
throw new Test262Error('#2.2: Date.prototype.isPrototypeOf(x22)');
}
var x23 = new Date(1899, 12, 1, 0, 0);
if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype");
throw new Test262Error("#2.3: Date.prototype === x23.constructor.prototype");
}
var x31 = new Date(1900, 0, 1, 0, 0);
if (typeof x31.constructor.prototype !== "object") {
$ERROR("#3.1: typeof x31.constructor.prototype === 'object'");
throw new Test262Error("#3.1: typeof x31.constructor.prototype === 'object'");
}
var x32 = new Date(1900, 0, 1, 0, 0);
if (!Date.prototype.isPrototypeOf(x32)) {
$ERROR('#3.2: Date.prototype.isPrototypeOf(x32)');
throw new Test262Error('#3.2: Date.prototype.isPrototypeOf(x32)');
}
var x33 = new Date(1900, 0, 1, 0, 0);
if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype");
throw new Test262Error("#3.3: Date.prototype === x33.constructor.prototype");
}
var x41 = new Date(1969, 11, 31, 23, 59);
if (typeof x41.constructor.prototype !== "object") {
$ERROR("#4.1: typeof x41.constructor.prototype === 'object'");
throw new Test262Error("#4.1: typeof x41.constructor.prototype === 'object'");
}
var x42 = new Date(1969, 11, 31, 23, 59);
if (!Date.prototype.isPrototypeOf(x42)) {
$ERROR('#4.2: Date.prototype.isPrototypeOf(x42)');
throw new Test262Error('#4.2: Date.prototype.isPrototypeOf(x42)');
}
var x43 = new Date(1969, 11, 31, 23, 59);
if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype");
throw new Test262Error("#4.3: Date.prototype === x43.constructor.prototype");
}
var x51 = new Date(1969, 12, 1, 0, 0);
if (typeof x51.constructor.prototype !== "object") {
$ERROR("#5.1: typeof x51.constructor.prototype === 'object'");
throw new Test262Error("#5.1: typeof x51.constructor.prototype === 'object'");
}
var x52 = new Date(1969, 12, 1, 0, 0);
if (!Date.prototype.isPrototypeOf(x52)) {
$ERROR('#5.2: Date.prototype.isPrototypeOf(x52)');
throw new Test262Error('#5.2: Date.prototype.isPrototypeOf(x52)');
}
var x53 = new Date(1969, 12, 1, 0, 0);
if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype");
throw new Test262Error("#5.3: Date.prototype === x53.constructor.prototype");
}
var x61 = new Date(1970, 0, 1, 0, 0);
if (typeof x61.constructor.prototype !== "object") {
$ERROR("#6.1: typeof x61.constructor.prototype === 'object'");
throw new Test262Error("#6.1: typeof x61.constructor.prototype === 'object'");
}
var x62 = new Date(1970, 0, 1, 0, 0);
if (!Date.prototype.isPrototypeOf(x62)) {
$ERROR('#6.2: Date.prototype.isPrototypeOf(x62)');
throw new Test262Error('#6.2: Date.prototype.isPrototypeOf(x62)');
}
var x63 = new Date(1970, 0, 1, 0, 0);
if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype");
throw new Test262Error("#6.3: Date.prototype === x63.constructor.prototype");
}
var x71 = new Date(1999, 11, 31, 23, 59);
if (typeof x71.constructor.prototype !== "object") {
$ERROR("#7.1: typeof x71.constructor.prototype === 'object'");
throw new Test262Error("#7.1: typeof x71.constructor.prototype === 'object'");
}
var x72 = new Date(1999, 11, 31, 23, 59);
if (!Date.prototype.isPrototypeOf(x72)) {
$ERROR('#7.2: Date.prototype.isPrototypeOf(x72)');
throw new Test262Error('#7.2: Date.prototype.isPrototypeOf(x72)');
}
var x73 = new Date(1999, 11, 31, 23, 59);
if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype");
throw new Test262Error("#7.3: Date.prototype === x73.constructor.prototype");
}
var x81 = new Date(1999, 12, 1, 0, 0);
if (typeof x81.constructor.prototype !== "object") {
$ERROR("#8.1: typeof x81.constructor.prototype === 'object'");
throw new Test262Error("#8.1: typeof x81.constructor.prototype === 'object'");
}
var x82 = new Date(1999, 12, 1, 0, 0);
if (!Date.prototype.isPrototypeOf(x82)) {
$ERROR('#8.2: Date.prototype.isPrototypeOf(x82)');
throw new Test262Error('#8.2: Date.prototype.isPrototypeOf(x82)');
}
var x83 = new Date(1999, 12, 1, 0, 0);
if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype");
throw new Test262Error("#8.3: Date.prototype === x83.constructor.prototype");
}
var x91 = new Date(2000, 0, 1, 0, 0);
if (typeof x91.constructor.prototype !== "object") {
$ERROR("#9.1: typeof x91.constructor.prototype === 'object'");
throw new Test262Error("#9.1: typeof x91.constructor.prototype === 'object'");
}
var x92 = new Date(2000, 0, 1, 0, 0);
if (!Date.prototype.isPrototypeOf(x92)) {
$ERROR('#9.2: Date.prototype.isPrototypeOf(x92)');
throw new Test262Error('#9.2: Date.prototype.isPrototypeOf(x92)');
}
var x93 = new Date(2000, 0, 1, 0, 0);
if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype");
throw new Test262Error("#9.3: Date.prototype === x93.constructor.prototype");
}
var x101 = new Date(2099, 11, 31, 23, 59);
if (typeof x101.constructor.prototype !== "object") {
$ERROR("#10.1: typeof x101.constructor.prototype === 'object'");
throw new Test262Error("#10.1: typeof x101.constructor.prototype === 'object'");
}
var x102 = new Date(2099, 11, 31, 23, 59);
if (!Date.prototype.isPrototypeOf(x102)) {
$ERROR('#10.2: Date.prototype.isPrototypeOf(x102)');
throw new Test262Error('#10.2: Date.prototype.isPrototypeOf(x102)');
}
var x103 = new Date(2099, 11, 31, 23, 59);
if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype");
throw new Test262Error("#10.3: Date.prototype === x103.constructor.prototype");
}
var x111 = new Date(2099, 12, 1, 0, 0);
if (typeof x111.constructor.prototype !== "object") {
$ERROR("#11.1: typeof x111.constructor.prototype === 'object'");
throw new Test262Error("#11.1: typeof x111.constructor.prototype === 'object'");
}
var x112 = new Date(2099, 12, 1, 0, 0);
if (!Date.prototype.isPrototypeOf(x112)) {
$ERROR('#11.2: Date.prototype.isPrototypeOf(x112)');
throw new Test262Error('#11.2: Date.prototype.isPrototypeOf(x112)');
}
var x113 = new Date(2099, 12, 1, 0, 0);
if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype");
throw new Test262Error("#11.3: Date.prototype === x113.constructor.prototype");
}
var x121 = new Date(2100, 0, 1, 0, 0);
if (typeof x121.constructor.prototype !== "object") {
$ERROR("#12.1: typeof x121.constructor.prototype === 'object'");
throw new Test262Error("#12.1: typeof x121.constructor.prototype === 'object'");
}
var x122 = new Date(2100, 0, 1, 0, 0);
if (!Date.prototype.isPrototypeOf(x122)) {
$ERROR('#12.2: Date.prototype.isPrototypeOf(x122)');
throw new Test262Error('#12.2: Date.prototype.isPrototypeOf(x122)');
}
var x123 = new Date(2100, 0, 1, 0, 0);
if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype");
throw new Test262Error("#12.3: Date.prototype === x123.constructor.prototype");
}

View File

@ -12,180 +12,180 @@ description: 6 arguments, (year, month, date, hours, minutes, seconds)
var x11 = new Date(1899, 11, 31, 23, 59, 59);
if (typeof x11.constructor.prototype !== "object") {
$ERROR("#1.1: typeof x11.constructor.prototype === 'object'");
throw new Test262Error("#1.1: typeof x11.constructor.prototype === 'object'");
}
var x12 = new Date(1899, 11, 31, 23, 59, 59);
if (!Date.prototype.isPrototypeOf(x12)) {
$ERROR('#1.2: Date.prototype.isPrototypeOf(x12)');
throw new Test262Error('#1.2: Date.prototype.isPrototypeOf(x12)');
}
var x13 = new Date(1899, 11, 31, 23, 59, 59);
if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype");
throw new Test262Error("#1.3: Date.prototype === x13.constructor.prototype");
}
var x21 = new Date(1899, 12, 1, 0, 0, 0);
if (typeof x21.constructor.prototype !== "object") {
$ERROR("#2.1: typeof x21.constructor.prototype === 'object'");
throw new Test262Error("#2.1: typeof x21.constructor.prototype === 'object'");
}
var x22 = new Date(1899, 12, 1, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x22)) {
$ERROR('#2.2: Date.prototype.isPrototypeOf(x22)');
throw new Test262Error('#2.2: Date.prototype.isPrototypeOf(x22)');
}
var x23 = new Date(1899, 12, 1, 0, 0, 0);
if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype");
throw new Test262Error("#2.3: Date.prototype === x23.constructor.prototype");
}
var x31 = new Date(1900, 0, 1, 0, 0, 0);
if (typeof x31.constructor.prototype !== "object") {
$ERROR("#3.1: typeof x31.constructor.prototype === 'object'");
throw new Test262Error("#3.1: typeof x31.constructor.prototype === 'object'");
}
var x32 = new Date(1900, 0, 1, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x32)) {
$ERROR('#3.2: Date.prototype.isPrototypeOf(x32)');
throw new Test262Error('#3.2: Date.prototype.isPrototypeOf(x32)');
}
var x33 = new Date(1900, 0, 1, 0, 0, 0);
if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype");
throw new Test262Error("#3.3: Date.prototype === x33.constructor.prototype");
}
var x41 = new Date(1969, 11, 31, 23, 59, 59);
if (typeof x41.constructor.prototype !== "object") {
$ERROR("#4.1: typeof x41.constructor.prototype === 'object'");
throw new Test262Error("#4.1: typeof x41.constructor.prototype === 'object'");
}
var x42 = new Date(1969, 11, 31, 23, 59, 59);
if (!Date.prototype.isPrototypeOf(x42)) {
$ERROR('#4.2: Date.prototype.isPrototypeOf(x42)');
throw new Test262Error('#4.2: Date.prototype.isPrototypeOf(x42)');
}
var x43 = new Date(1969, 11, 31, 23, 59, 59);
if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype");
throw new Test262Error("#4.3: Date.prototype === x43.constructor.prototype");
}
var x51 = new Date(1969, 12, 1, 0, 0, 0);
if (typeof x51.constructor.prototype !== "object") {
$ERROR("#5.1: typeof x51.constructor.prototype === 'object'");
throw new Test262Error("#5.1: typeof x51.constructor.prototype === 'object'");
}
var x52 = new Date(1969, 12, 1, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x52)) {
$ERROR('#5.2: Date.prototype.isPrototypeOf(x52)');
throw new Test262Error('#5.2: Date.prototype.isPrototypeOf(x52)');
}
var x53 = new Date(1969, 12, 1, 0, 0, 0);
if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype");
throw new Test262Error("#5.3: Date.prototype === x53.constructor.prototype");
}
var x61 = new Date(1970, 0, 1, 0, 0, 0);
if (typeof x61.constructor.prototype !== "object") {
$ERROR("#6.1: typeof x61.constructor.prototype === 'object'");
throw new Test262Error("#6.1: typeof x61.constructor.prototype === 'object'");
}
var x62 = new Date(1970, 0, 1, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x62)) {
$ERROR('#6.2: Date.prototype.isPrototypeOf(x62)');
throw new Test262Error('#6.2: Date.prototype.isPrototypeOf(x62)');
}
var x63 = new Date(1970, 0, 1, 0, 0, 0);
if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype");
throw new Test262Error("#6.3: Date.prototype === x63.constructor.prototype");
}
var x71 = new Date(1999, 11, 31, 23, 59, 59);
if (typeof x71.constructor.prototype !== "object") {
$ERROR("#7.1: typeof x71.constructor.prototype === 'object'");
throw new Test262Error("#7.1: typeof x71.constructor.prototype === 'object'");
}
var x72 = new Date(1999, 11, 31, 23, 59, 59);
if (!Date.prototype.isPrototypeOf(x72)) {
$ERROR('#7.2: Date.prototype.isPrototypeOf(x72)');
throw new Test262Error('#7.2: Date.prototype.isPrototypeOf(x72)');
}
var x73 = new Date(1999, 11, 31, 23, 59, 59);
if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype");
throw new Test262Error("#7.3: Date.prototype === x73.constructor.prototype");
}
var x81 = new Date(1999, 12, 1, 0, 0, 0);
if (typeof x81.constructor.prototype !== "object") {
$ERROR("#8.1: typeof x81.constructor.prototype === 'object'");
throw new Test262Error("#8.1: typeof x81.constructor.prototype === 'object'");
}
var x82 = new Date(1999, 12, 1, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x82)) {
$ERROR('#8.2: Date.prototype.isPrototypeOf(x82)');
throw new Test262Error('#8.2: Date.prototype.isPrototypeOf(x82)');
}
var x83 = new Date(1999, 12, 1, 0, 0, 0);
if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype");
throw new Test262Error("#8.3: Date.prototype === x83.constructor.prototype");
}
var x91 = new Date(2000, 0, 1, 0, 0, 0);
if (typeof x91.constructor.prototype !== "object") {
$ERROR("#9.1: typeof x91.constructor.prototype === 'object'");
throw new Test262Error("#9.1: typeof x91.constructor.prototype === 'object'");
}
var x92 = new Date(2000, 0, 1, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x92)) {
$ERROR('#9.2: Date.prototype.isPrototypeOf(x92)');
throw new Test262Error('#9.2: Date.prototype.isPrototypeOf(x92)');
}
var x93 = new Date(2000, 0, 1, 0, 0, 0);
if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype");
throw new Test262Error("#9.3: Date.prototype === x93.constructor.prototype");
}
var x101 = new Date(2099, 11, 31, 23, 59, 59);
if (typeof x101.constructor.prototype !== "object") {
$ERROR("#10.1: typeof x101.constructor.prototype === 'object'");
throw new Test262Error("#10.1: typeof x101.constructor.prototype === 'object'");
}
var x102 = new Date(2099, 11, 31, 23, 59, 59);
if (!Date.prototype.isPrototypeOf(x102)) {
$ERROR('#10.2: Date.prototype.isPrototypeOf(x102)');
throw new Test262Error('#10.2: Date.prototype.isPrototypeOf(x102)');
}
var x103 = new Date(2099, 11, 31, 23, 59, 59);
if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype");
throw new Test262Error("#10.3: Date.prototype === x103.constructor.prototype");
}
var x111 = new Date(2099, 12, 1, 0, 0, 0);
if (typeof x111.constructor.prototype !== "object") {
$ERROR("#11.1: typeof x111.constructor.prototype === 'object'");
throw new Test262Error("#11.1: typeof x111.constructor.prototype === 'object'");
}
var x112 = new Date(2099, 12, 1, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x112)) {
$ERROR('#11.2: Date.prototype.isPrototypeOf(x112)');
throw new Test262Error('#11.2: Date.prototype.isPrototypeOf(x112)');
}
var x113 = new Date(2099, 12, 1, 0, 0, 0);
if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype");
throw new Test262Error("#11.3: Date.prototype === x113.constructor.prototype");
}
var x121 = new Date(2100, 0, 1, 0, 0, 0);
if (typeof x121.constructor.prototype !== "object") {
$ERROR("#12.1: typeof x121.constructor.prototype === 'object'");
throw new Test262Error("#12.1: typeof x121.constructor.prototype === 'object'");
}
var x122 = new Date(2100, 0, 1, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x122)) {
$ERROR('#12.2: Date.prototype.isPrototypeOf(x122)');
throw new Test262Error('#12.2: Date.prototype.isPrototypeOf(x122)');
}
var x123 = new Date(2100, 0, 1, 0, 0, 0);
if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype");
throw new Test262Error("#12.3: Date.prototype === x123.constructor.prototype");
}

View File

@ -12,180 +12,180 @@ description: 7 arguments, (year, month, date, hours, minutes, seconds, ms)
var x11 = new Date(1899, 11, 31, 23, 59, 59, 999);
if (typeof x11.constructor.prototype !== "object") {
$ERROR("#1.1: typeof x11.constructor.prototype === 'object'");
throw new Test262Error("#1.1: typeof x11.constructor.prototype === 'object'");
}
var x12 = new Date(1899, 11, 31, 23, 59, 59, 999);
if (!Date.prototype.isPrototypeOf(x12)) {
$ERROR('#1.2: Date.prototype.isPrototypeOf(x12)');
throw new Test262Error('#1.2: Date.prototype.isPrototypeOf(x12)');
}
var x13 = new Date(1899, 11, 31, 23, 59, 59, 999);
if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype === x13.constructor.prototype");
throw new Test262Error("#1.3: Date.prototype === x13.constructor.prototype");
}
var x21 = new Date(1899, 12, 1, 0, 0, 0, 0);
if (typeof x21.constructor.prototype !== "object") {
$ERROR("#2.1: typeof x21.constructor.prototype === 'object'");
throw new Test262Error("#2.1: typeof x21.constructor.prototype === 'object'");
}
var x22 = new Date(1899, 12, 1, 0, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x22)) {
$ERROR('#2.2: Date.prototype.isPrototypeOf(x22)');
throw new Test262Error('#2.2: Date.prototype.isPrototypeOf(x22)');
}
var x23 = new Date(1899, 12, 1, 0, 0, 0, 0);
if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype === x23.constructor.prototype");
throw new Test262Error("#2.3: Date.prototype === x23.constructor.prototype");
}
var x31 = new Date(1900, 0, 1, 0, 0, 0, 0);
if (typeof x31.constructor.prototype !== "object") {
$ERROR("#3.1: typeof x31.constructor.prototype === 'object'");
throw new Test262Error("#3.1: typeof x31.constructor.prototype === 'object'");
}
var x32 = new Date(1900, 0, 1, 0, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x32)) {
$ERROR('#3.2: Date.prototype.isPrototypeOf(x32)');
throw new Test262Error('#3.2: Date.prototype.isPrototypeOf(x32)');
}
var x33 = new Date(1900, 0, 1, 0, 0, 0, 0);
if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype === x33.constructor.prototype");
throw new Test262Error("#3.3: Date.prototype === x33.constructor.prototype");
}
var x41 = new Date(1969, 11, 31, 23, 59, 59, 999);
if (typeof x41.constructor.prototype !== "object") {
$ERROR("#4.1: typeof x41.constructor.prototype === 'object'");
throw new Test262Error("#4.1: typeof x41.constructor.prototype === 'object'");
}
var x42 = new Date(1969, 11, 31, 23, 59, 59, 999);
if (!Date.prototype.isPrototypeOf(x42)) {
$ERROR('#4.2: Date.prototype.isPrototypeOf(x42)');
throw new Test262Error('#4.2: Date.prototype.isPrototypeOf(x42)');
}
var x43 = new Date(1969, 11, 31, 23, 59, 59, 999);
if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype === x43.constructor.prototype");
throw new Test262Error("#4.3: Date.prototype === x43.constructor.prototype");
}
var x51 = new Date(1969, 12, 1, 0, 0, 0, 0);
if (typeof x51.constructor.prototype !== "object") {
$ERROR("#5.1: typeof x51.constructor.prototype === 'object'");
throw new Test262Error("#5.1: typeof x51.constructor.prototype === 'object'");
}
var x52 = new Date(1969, 12, 1, 0, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x52)) {
$ERROR('#5.2: Date.prototype.isPrototypeOf(x52)');
throw new Test262Error('#5.2: Date.prototype.isPrototypeOf(x52)');
}
var x53 = new Date(1969, 12, 1, 0, 0, 0, 0);
if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype === x53.constructor.prototype");
throw new Test262Error("#5.3: Date.prototype === x53.constructor.prototype");
}
var x61 = new Date(1970, 0, 1, 0, 0, 0, 0);
if (typeof x61.constructor.prototype !== "object") {
$ERROR("#6.1: typeof x61.constructor.prototype === 'object'");
throw new Test262Error("#6.1: typeof x61.constructor.prototype === 'object'");
}
var x62 = new Date(1970, 0, 1, 0, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x62)) {
$ERROR('#6.2: Date.prototype.isPrototypeOf(x62)');
throw new Test262Error('#6.2: Date.prototype.isPrototypeOf(x62)');
}
var x63 = new Date(1970, 0, 1, 0, 0, 0, 0);
if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype === x63.constructor.prototype");
throw new Test262Error("#6.3: Date.prototype === x63.constructor.prototype");
}
var x71 = new Date(1999, 11, 31, 23, 59, 59, 999);
if (typeof x71.constructor.prototype !== "object") {
$ERROR("#7.1: typeof x71.constructor.prototype === 'object'");
throw new Test262Error("#7.1: typeof x71.constructor.prototype === 'object'");
}
var x72 = new Date(1999, 11, 31, 23, 59, 59, 999);
if (!Date.prototype.isPrototypeOf(x72)) {
$ERROR('#7.2: Date.prototype.isPrototypeOf(x72)');
throw new Test262Error('#7.2: Date.prototype.isPrototypeOf(x72)');
}
var x73 = new Date(1999, 11, 31, 23, 59, 59, 999);
if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype === x73.constructor.prototype");
throw new Test262Error("#7.3: Date.prototype === x73.constructor.prototype");
}
var x81 = new Date(1999, 12, 1, 0, 0, 0, 0);
if (typeof x81.constructor.prototype !== "object") {
$ERROR("#8.1: typeof x81.constructor.prototype === 'object'");
throw new Test262Error("#8.1: typeof x81.constructor.prototype === 'object'");
}
var x82 = new Date(1999, 12, 1, 0, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x82)) {
$ERROR('#8.2: Date.prototype.isPrototypeOf(x82)');
throw new Test262Error('#8.2: Date.prototype.isPrototypeOf(x82)');
}
var x83 = new Date(1999, 12, 1, 0, 0, 0, 0);
if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype === x83.constructor.prototype");
throw new Test262Error("#8.3: Date.prototype === x83.constructor.prototype");
}
var x91 = new Date(2000, 0, 1, 0, 0, 0, 0);
if (typeof x91.constructor.prototype !== "object") {
$ERROR("#9.1: typeof x91.constructor.prototype === 'object'");
throw new Test262Error("#9.1: typeof x91.constructor.prototype === 'object'");
}
var x92 = new Date(2000, 0, 1, 0, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x92)) {
$ERROR('#9.2: Date.prototype.isPrototypeOf(x92)');
throw new Test262Error('#9.2: Date.prototype.isPrototypeOf(x92)');
}
var x93 = new Date(2000, 0, 1, 0, 0, 0, 0);
if (Date.prototype !== x93.constructor.prototype) {
$ERROR("#9.3: Date.prototype === x93.constructor.prototype");
throw new Test262Error("#9.3: Date.prototype === x93.constructor.prototype");
}
var x101 = new Date(2099, 11, 31, 23, 59, 59, 999);
if (typeof x101.constructor.prototype !== "object") {
$ERROR("#10.1: typeof x101.constructor.prototype === 'object'");
throw new Test262Error("#10.1: typeof x101.constructor.prototype === 'object'");
}
var x102 = new Date(2099, 11, 31, 23, 59, 59, 999);
if (!Date.prototype.isPrototypeOf(x102)) {
$ERROR('#10.2: Date.prototype.isPrototypeOf(x102)');
throw new Test262Error('#10.2: Date.prototype.isPrototypeOf(x102)');
}
var x103 = new Date(2099, 11, 31, 23, 59, 59, 999);
if (Date.prototype !== x103.constructor.prototype) {
$ERROR("#10.3: Date.prototype === x103.constructor.prototype");
throw new Test262Error("#10.3: Date.prototype === x103.constructor.prototype");
}
var x111 = new Date(2099, 12, 1, 0, 0, 0, 0);
if (typeof x111.constructor.prototype !== "object") {
$ERROR("#11.1: typeof x111.constructor.prototype === 'object'");
throw new Test262Error("#11.1: typeof x111.constructor.prototype === 'object'");
}
var x112 = new Date(2099, 12, 1, 0, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x112)) {
$ERROR('#11.2: Date.prototype.isPrototypeOf(x112)');
throw new Test262Error('#11.2: Date.prototype.isPrototypeOf(x112)');
}
var x113 = new Date(2099, 12, 1, 0, 0, 0, 0);
if (Date.prototype !== x113.constructor.prototype) {
$ERROR("#11.3: Date.prototype === x113.constructor.prototype");
throw new Test262Error("#11.3: Date.prototype === x113.constructor.prototype");
}
var x121 = new Date(2100, 0, 1, 0, 0, 0, 0);
if (typeof x121.constructor.prototype !== "object") {
$ERROR("#12.1: typeof x121.constructor.prototype === 'object'");
throw new Test262Error("#12.1: typeof x121.constructor.prototype === 'object'");
}
var x122 = new Date(2100, 0, 1, 0, 0, 0, 0);
if (!Date.prototype.isPrototypeOf(x122)) {
$ERROR('#12.2: Date.prototype.isPrototypeOf(x122)');
throw new Test262Error('#12.2: Date.prototype.isPrototypeOf(x122)');
}
var x123 = new Date(2100, 0, 1, 0, 0, 0, 0);
if (Date.prototype !== x123.constructor.prototype) {
$ERROR("#12.3: Date.prototype === x123.constructor.prototype");
throw new Test262Error("#12.3: Date.prototype === x123.constructor.prototype");
}

View File

@ -13,60 +13,60 @@ description: >
var x1 = new Date(1899, 11);
if (Object.prototype.toString.call(x1) !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12);
if (Object.prototype.toString.call(x2) !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0);
if (Object.prototype.toString.call(x3) !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11);
if (Object.prototype.toString.call(x4) !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12);
if (Object.prototype.toString.call(x5) !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0);
if (Object.prototype.toString.call(x6) !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11);
if (Object.prototype.toString.call(x7) !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12);
if (Object.prototype.toString.call(x8) !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0);
if (Object.prototype.toString.call(x9) !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11);
if (Object.prototype.toString.call(x10) !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12);
if (Object.prototype.toString.call(x11) !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0);
if (Object.prototype.toString.call(x12) !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -15,60 +15,60 @@ Date.prototype.toString = Object.prototype.toString;
var x1 = new Date(1899, 11);
if (x1.toString() !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12);
if (x2.toString() !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0);
if (x3.toString() !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11);
if (x4.toString() !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12);
if (x5.toString() !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0);
if (x6.toString() !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11);
if (x7.toString() !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12);
if (x8.toString() !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0);
if (x9.toString() !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11);
if (x10.toString() !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12);
if (x11.toString() !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0);
if (x12.toString() !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -13,60 +13,60 @@ description: >
var x1 = new Date(1899, 11, 31);
if (Object.prototype.toString.call(x1) !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12, 1);
if (Object.prototype.toString.call(x2) !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0, 1);
if (Object.prototype.toString.call(x3) !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11, 31);
if (Object.prototype.toString.call(x4) !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12, 1);
if (Object.prototype.toString.call(x5) !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0, 1);
if (Object.prototype.toString.call(x6) !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11, 31);
if (Object.prototype.toString.call(x7) !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12, 1);
if (Object.prototype.toString.call(x8) !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0, 1);
if (Object.prototype.toString.call(x9) !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11, 31);
if (Object.prototype.toString.call(x10) !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12, 1);
if (Object.prototype.toString.call(x11) !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0, 1);
if (Object.prototype.toString.call(x12) !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -15,60 +15,60 @@ Date.prototype.toString = Object.prototype.toString;
var x1 = new Date(1899, 11, 31);
if (x1.toString() !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12, 1);
if (x2.toString() !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0, 1);
if (x3.toString() !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11, 31);
if (x4.toString() !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12, 1);
if (x5.toString() !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0, 1);
if (x6.toString() !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11, 31);
if (x7.toString() !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12, 1);
if (x8.toString() !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0, 1);
if (x9.toString() !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11, 31);
if (x10.toString() !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12, 1);
if (x11.toString() !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0, 1);
if (x12.toString() !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -13,60 +13,60 @@ description: >
var x1 = new Date(1899, 11, 31, 23);
if (Object.prototype.toString.call(x1) !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12, 1, 0);
if (Object.prototype.toString.call(x2) !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0, 1, 0);
if (Object.prototype.toString.call(x3) !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11, 31, 23);
if (Object.prototype.toString.call(x4) !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12, 1, 0);
if (Object.prototype.toString.call(x5) !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0, 1, 0);
if (Object.prototype.toString.call(x6) !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11, 31, 23);
if (Object.prototype.toString.call(x7) !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12, 1, 0);
if (Object.prototype.toString.call(x8) !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0, 1, 0);
if (Object.prototype.toString.call(x9) !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11, 31, 23);
if (Object.prototype.toString.call(x10) !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12, 1, 0);
if (Object.prototype.toString.call(x11) !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0, 1, 0);
if (Object.prototype.toString.call(x12) !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -15,60 +15,60 @@ Date.prototype.toString = Object.prototype.toString;
var x1 = new Date(1899, 11, 31, 23);
if (x1.toString() !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12, 1, 0);
if (x2.toString() !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0, 1, 0);
if (x3.toString() !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11, 31, 23);
if (x4.toString() !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12, 1, 0);
if (x5.toString() !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0, 1, 0);
if (x6.toString() !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11, 31, 23);
if (x7.toString() !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12, 1, 0);
if (x8.toString() !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0, 1, 0);
if (x9.toString() !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11, 31, 23);
if (x10.toString() !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12, 1, 0);
if (x11.toString() !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0, 1, 0);
if (x12.toString() !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -13,60 +13,60 @@ description: >
var x1 = new Date(1899, 11, 31, 23, 59);
if (Object.prototype.toString.call(x1) !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12, 1, 0, 0);
if (Object.prototype.toString.call(x2) !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0, 1, 0, 0);
if (Object.prototype.toString.call(x3) !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11, 31, 23, 59);
if (Object.prototype.toString.call(x4) !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12, 1, 0, 0);
if (Object.prototype.toString.call(x5) !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0, 1, 0, 0);
if (Object.prototype.toString.call(x6) !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11, 31, 23, 59);
if (Object.prototype.toString.call(x7) !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12, 1, 0, 0);
if (Object.prototype.toString.call(x8) !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0, 1, 0, 0);
if (Object.prototype.toString.call(x9) !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11, 31, 23, 59);
if (Object.prototype.toString.call(x10) !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12, 1, 0, 0);
if (Object.prototype.toString.call(x11) !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0, 1, 0, 0);
if (Object.prototype.toString.call(x12) !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -15,60 +15,60 @@ Date.prototype.toString = Object.prototype.toString;
var x1 = new Date(1899, 11, 31, 23, 59);
if (x1.toString() !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12, 1, 0, 0);
if (x2.toString() !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0, 1, 0, 0);
if (x3.toString() !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11, 31, 23, 59);
if (x4.toString() !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12, 1, 0, 0);
if (x5.toString() !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0, 1, 0, 0);
if (x6.toString() !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11, 31, 23, 59);
if (x7.toString() !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12, 1, 0, 0);
if (x8.toString() !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0, 1, 0, 0);
if (x9.toString() !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11, 31, 23, 59);
if (x10.toString() !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12, 1, 0, 0);
if (x11.toString() !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0, 1, 0, 0);
if (x12.toString() !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -11,60 +11,60 @@ description: 6 arguments, (year, month, date, hours, minutes, seconds)
var x1 = new Date(1899, 11, 31, 23, 59, 59);
if (Object.prototype.toString.call(x1) !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12, 1, 0, 0, 0);
if (Object.prototype.toString.call(x2) !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0, 1, 0, 0, 0);
if (Object.prototype.toString.call(x3) !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11, 31, 23, 59, 59);
if (Object.prototype.toString.call(x4) !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12, 1, 0, 0, 0);
if (Object.prototype.toString.call(x5) !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0, 1, 0, 0, 0);
if (Object.prototype.toString.call(x6) !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11, 31, 23, 59, 59);
if (Object.prototype.toString.call(x7) !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12, 1, 0, 0, 0);
if (Object.prototype.toString.call(x8) !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0, 1, 0, 0, 0);
if (Object.prototype.toString.call(x9) !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11, 31, 23, 59, 59);
if (Object.prototype.toString.call(x10) !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12, 1, 0, 0, 0);
if (Object.prototype.toString.call(x11) !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0, 1, 0, 0, 0);
if (Object.prototype.toString.call(x12) !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -15,60 +15,60 @@ Date.prototype.toString = Object.prototype.toString;
var x1 = new Date(1899, 11, 31, 23, 59, 59);
if (x1.toString() !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12, 1, 0, 0, 0);
if (x2.toString() !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0, 1, 0, 0, 0);
if (x3.toString() !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11, 31, 23, 59, 59);
if (x4.toString() !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12, 1, 0, 0, 0);
if (x5.toString() !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0, 1, 0, 0, 0);
if (x6.toString() !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11, 31, 23, 59, 59);
if (x7.toString() !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12, 1, 0, 0, 0);
if (x8.toString() !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0, 1, 0, 0, 0);
if (x9.toString() !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11, 31, 23, 59, 59);
if (x10.toString() !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12, 1, 0, 0, 0);
if (x11.toString() !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0, 1, 0, 0, 0);
if (x12.toString() !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -11,60 +11,60 @@ description: 7 arguments, (year, month, date, hours, minutes, seconds, ms)
var x1 = new Date(1899, 11, 31, 23, 59, 59, 999);
if (Object.prototype.toString.call(x1) !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12, 1, 0, 0, 0, 0);
if (Object.prototype.toString.call(x2) !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0, 1, 0, 0, 0, 0);
if (Object.prototype.toString.call(x3) !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11, 31, 23, 59, 59, 999);
if (Object.prototype.toString.call(x4) !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12, 1, 0, 0, 0, 0);
if (Object.prototype.toString.call(x5) !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0, 1, 0, 0, 0, 0);
if (Object.prototype.toString.call(x6) !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11, 31, 23, 59, 59, 999);
if (Object.prototype.toString.call(x7) !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12, 1, 0, 0, 0, 0);
if (Object.prototype.toString.call(x8) !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0, 1, 0, 0, 0, 0);
if (Object.prototype.toString.call(x9) !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11, 31, 23, 59, 59, 999);
if (Object.prototype.toString.call(x10) !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12, 1, 0, 0, 0, 0);
if (Object.prototype.toString.call(x11) !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0, 1, 0, 0, 0, 0);
if (Object.prototype.toString.call(x12) !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -15,60 +15,60 @@ Date.prototype.toString = Object.prototype.toString;
var x1 = new Date(1899, 11, 31, 23, 59, 59, 999);
if (x1.toString() !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(1899, 12, 1, 0, 0, 0, 0);
if (x2.toString() !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(1900, 0, 1, 0, 0, 0, 0);
if (x3.toString() !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(1969, 11, 31, 23, 59, 59, 999);
if (x4.toString() !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(1969, 12, 1, 0, 0, 0, 0);
if (x5.toString() !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(1970, 0, 1, 0, 0, 0, 0);
if (x6.toString() !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(1999, 11, 31, 23, 59, 59, 999);
if (x7.toString() !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(1999, 12, 1, 0, 0, 0, 0);
if (x8.toString() !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x9 = new Date(2000, 0, 1, 0, 0, 0, 0);
if (x9.toString() !== "[object Date]") {
$ERROR("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#9: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x10 = new Date(2099, 11, 31, 23, 59, 59, 999);
if (x10.toString() !== "[object Date]") {
$ERROR("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#10: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x11 = new Date(2099, 12, 1, 0, 0, 0, 0);
if (x11.toString() !== "[object Date]") {
$ERROR("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#11: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x12 = new Date(2100, 0, 1, 0, 0, 0, 0);
if (x12.toString() !== "[object Date]") {
$ERROR("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#12: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -29,21 +29,21 @@ var myObj = function(val) {
//CHECK#1
try {
var x1 = new Date(new myObj(1), new myObj(2));
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
catch (e) {
if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
}
//CHECK#2
try {
var x2 = new Date(1, new myObj(2));
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
catch (e) {
if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
}

View File

@ -29,32 +29,32 @@ var myObj = function(val) {
//CHECK#1
try {
var x1 = new Date(new myObj(1), new myObj(2), new myObj(3));
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
catch (e) {
if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
}
//CHECK#2
try {
var x2 = new Date(1, new myObj(2), new myObj(3));
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
catch (e) {
if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
}
//CHECK#3
try {
var x3 = new Date(1, 2, new myObj(3));
$ERROR("#3: The 3rd step is calling ToNumber(date)");
throw new Test262Error("#3: The 3rd step is calling ToNumber(date)");
}
catch (e) {
if (e !== "valueOf-3") {
$ERROR("#3: The 3rd step is calling ToNumber(date)");
throw new Test262Error("#3: The 3rd step is calling ToNumber(date)");
}
}

View File

@ -29,43 +29,43 @@ var myObj = function(val) {
//CHECK#1
try {
var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4));
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
catch (e) {
if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
}
//CHECK#2
try {
var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4));
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
catch (e) {
if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
}
//CHECK#3
try {
var x3 = new Date(1, 2, new myObj(3), new myObj(4));
$ERROR("#3: The 3rd step is calling ToNumber(date)");
throw new Test262Error("#3: The 3rd step is calling ToNumber(date)");
}
catch (e) {
if (e !== "valueOf-3") {
$ERROR("#3: The 3rd step is calling ToNumber(date)");
throw new Test262Error("#3: The 3rd step is calling ToNumber(date)");
}
}
//CHECK#4
try {
var x4 = new Date(1, 2, 3, new myObj(4));
$ERROR("#4: The 4th step is calling ToNumber(hours)");
throw new Test262Error("#4: The 4th step is calling ToNumber(hours)");
}
catch (e) {
if (e !== "valueOf-4") {
$ERROR("#4: The 4th step is calling ToNumber(hours)");
throw new Test262Error("#4: The 4th step is calling ToNumber(hours)");
}
}

View File

@ -29,54 +29,54 @@ var myObj = function(val) {
//CHECK#1
try {
var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5));
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
catch (e) {
if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
}
//CHECK#2
try {
var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5));
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
catch (e) {
if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
}
//CHECK#3
try {
var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5));
$ERROR("#3: The 3rd step is calling ToNumber(date)");
throw new Test262Error("#3: The 3rd step is calling ToNumber(date)");
}
catch (e) {
if (e !== "valueOf-3") {
$ERROR("#3: The 3rd step is calling ToNumber(date)");
throw new Test262Error("#3: The 3rd step is calling ToNumber(date)");
}
}
//CHECK#4
try {
var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5));
$ERROR("#4: The 4th step is calling ToNumber(hours)");
throw new Test262Error("#4: The 4th step is calling ToNumber(hours)");
}
catch (e) {
if (e !== "valueOf-4") {
$ERROR("#4: The 4th step is calling ToNumber(hours)");
throw new Test262Error("#4: The 4th step is calling ToNumber(hours)");
}
}
//CHECK#5
try {
var x5 = new Date(1, 2, 3, 4, new myObj(5));
$ERROR("#5: The 5th step is calling ToNumber(minutes)");
throw new Test262Error("#5: The 5th step is calling ToNumber(minutes)");
}
catch (e) {
if (e !== "valueOf-5") {
$ERROR("#5: The 5th step is calling ToNumber(minutes)");
throw new Test262Error("#5: The 5th step is calling ToNumber(minutes)");
}
}

View File

@ -29,65 +29,65 @@ var myObj = function(val) {
//CHECK#1
try {
var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6));
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
catch (e) {
if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
}
//CHECK#2
try {
var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6));
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
catch (e) {
if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
}
//CHECK#3
try {
var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5), new myObj(6));
$ERROR("#3: The 3rd step is calling ToNumber(date)");
throw new Test262Error("#3: The 3rd step is calling ToNumber(date)");
}
catch (e) {
if (e !== "valueOf-3") {
$ERROR("#3: The 3rd step is calling ToNumber(date)");
throw new Test262Error("#3: The 3rd step is calling ToNumber(date)");
}
}
//CHECK#4
try {
var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5), new myObj(6));
$ERROR("#4: The 4th step is calling ToNumber(hours)");
throw new Test262Error("#4: The 4th step is calling ToNumber(hours)");
}
catch (e) {
if (e !== "valueOf-4") {
$ERROR("#4: The 4th step is calling ToNumber(hours)");
throw new Test262Error("#4: The 4th step is calling ToNumber(hours)");
}
}
//CHECK#5
try {
var x5 = new Date(1, 2, 3, 4, new myObj(5), new myObj(6));
$ERROR("#5: The 5th step is calling ToNumber(minutes)");
throw new Test262Error("#5: The 5th step is calling ToNumber(minutes)");
}
catch (e) {
if (e !== "valueOf-5") {
$ERROR("#5: The 5th step is calling ToNumber(minutes)");
throw new Test262Error("#5: The 5th step is calling ToNumber(minutes)");
}
}
//CHECK#6
try {
var x6 = new Date(1, 2, 3, 4, 5, new myObj(6));
$ERROR("#6: The 6th step is calling ToNumber(seconds)");
throw new Test262Error("#6: The 6th step is calling ToNumber(seconds)");
}
catch (e) {
if (e !== "valueOf-6") {
$ERROR("#6: The 6th step is calling ToNumber(seconds)");
throw new Test262Error("#6: The 6th step is calling ToNumber(seconds)");
}
}

View File

@ -29,76 +29,76 @@ var myObj = function(val) {
//CHECK#1
try {
var x1 = new Date(new myObj(1), new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7));
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
catch (e) {
if (e !== "valueOf-1") {
$ERROR("#1: The 1st step is calling ToNumber(year)");
throw new Test262Error("#1: The 1st step is calling ToNumber(year)");
}
}
//CHECK#2
try {
var x2 = new Date(1, new myObj(2), new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7));
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
catch (e) {
if (e !== "valueOf-2") {
$ERROR("#2: The 2nd step is calling ToNumber(month)");
throw new Test262Error("#2: The 2nd step is calling ToNumber(month)");
}
}
//CHECK#3
try {
var x3 = new Date(1, 2, new myObj(3), new myObj(4), new myObj(5), new myObj(6), new myObj(7));
$ERROR("#3: The 3rd step is calling ToNumber(date)");
throw new Test262Error("#3: The 3rd step is calling ToNumber(date)");
}
catch (e) {
if (e !== "valueOf-3") {
$ERROR("#3: The 3rd step is calling ToNumber(date)");
throw new Test262Error("#3: The 3rd step is calling ToNumber(date)");
}
}
//CHECK#4
try {
var x4 = new Date(1, 2, 3, new myObj(4), new myObj(5), new myObj(6), new myObj(7));
$ERROR("#4: The 4th step is calling ToNumber(hours)");
throw new Test262Error("#4: The 4th step is calling ToNumber(hours)");
}
catch (e) {
if (e !== "valueOf-4") {
$ERROR("#4: The 4th step is calling ToNumber(hours)");
throw new Test262Error("#4: The 4th step is calling ToNumber(hours)");
}
}
//CHECK#5
try {
var x5 = new Date(1, 2, 3, 4, new myObj(5), new myObj(6), new myObj(7));
$ERROR("#5: The 5th step is calling ToNumber(minutes)");
throw new Test262Error("#5: The 5th step is calling ToNumber(minutes)");
}
catch (e) {
if (e !== "valueOf-5") {
$ERROR("#5: The 5th step is calling ToNumber(minutes)");
throw new Test262Error("#5: The 5th step is calling ToNumber(minutes)");
}
}
//CHECK#6
try {
var x6 = new Date(1, 2, 3, 4, 5, new myObj(6), new myObj(7));
$ERROR("#6: The 6th step is calling ToNumber(seconds)");
throw new Test262Error("#6: The 6th step is calling ToNumber(seconds)");
}
catch (e) {
if (e !== "valueOf-6") {
$ERROR("#6: The 6th step is calling ToNumber(seconds)");
throw new Test262Error("#6: The 6th step is calling ToNumber(seconds)");
}
}
//CHECK#7
try {
var x7 = new Date(1, 2, 3, 4, 5, 6, new myObj(7));
$ERROR("#7: The 7th step is calling ToNumber(ms)");
throw new Test262Error("#7: The 7th step is calling ToNumber(ms)");
}
catch (e) {
if (e !== "valueOf-7") {
$ERROR("#7: The 7th step is calling ToNumber(ms)");
throw new Test262Error("#7: The 7th step is calling ToNumber(ms)");
}
}

View File

@ -11,145 +11,145 @@ includes: [dateConstants.js]
---*/
if (typeof new Date(date_1899_end) !== "object") {
$ERROR("#1.1: typeof new Date(date_1899_end) === 'object'");
throw new Test262Error("#1.1: typeof new Date(date_1899_end) === 'object'");
}
if (new Date(date_1899_end) === undefined) {
$ERROR("#1.2: new Date(date_1899_end) === undefined");
throw new Test262Error("#1.2: new Date(date_1899_end) === undefined");
}
var x13 = new Date(date_1899_end);
if (typeof x13 !== "object") {
$ERROR("#1.3: typeof new Date(date_1899_end) !== 'object'");
throw new Test262Error("#1.3: typeof new Date(date_1899_end) !== 'object'");
}
var x14 = new Date(date_1899_end);
if (x14 === undefined) {
$ERROR("#1.4: new Date(date_1899_end) !== undefined");
throw new Test262Error("#1.4: new Date(date_1899_end) !== undefined");
}
if (typeof new Date(date_1900_start) !== "object") {
$ERROR("#2.1: typeof new Date(date_1900_start) === 'object'");
throw new Test262Error("#2.1: typeof new Date(date_1900_start) === 'object'");
}
if (new Date(date_1900_start) === undefined) {
$ERROR("#2.2: new Date(date_1900_start) === undefined");
throw new Test262Error("#2.2: new Date(date_1900_start) === undefined");
}
var x23 = new Date(date_1900_start);
if (typeof x23 !== "object") {
$ERROR("#2.3: typeof new Date(date_1900_start) !== 'object'");
throw new Test262Error("#2.3: typeof new Date(date_1900_start) !== 'object'");
}
var x24 = new Date(date_1900_start);
if (x24 === undefined) {
$ERROR("#2.4: new Date(date_1900_start) !== undefined");
throw new Test262Error("#2.4: new Date(date_1900_start) !== undefined");
}
if (typeof new Date(date_1969_end) !== "object") {
$ERROR("#3.1: typeof new Date(date_1969_end) === 'object'");
throw new Test262Error("#3.1: typeof new Date(date_1969_end) === 'object'");
}
if (new Date(date_1969_end) === undefined) {
$ERROR("#3.2: new Date(date_1969_end) === undefined");
throw new Test262Error("#3.2: new Date(date_1969_end) === undefined");
}
var x33 = new Date(date_1969_end);
if (typeof x33 !== "object") {
$ERROR("#3.3: typeof new Date(date_1969_end) !== 'object'");
throw new Test262Error("#3.3: typeof new Date(date_1969_end) !== 'object'");
}
var x34 = new Date(date_1969_end);
if (x34 === undefined) {
$ERROR("#3.4: new Date(date_1969_end) !== undefined");
throw new Test262Error("#3.4: new Date(date_1969_end) !== undefined");
}
if (typeof new Date(date_1970_start) !== "object") {
$ERROR("#4.1: typeof new Date(date_1970_start) === 'object'");
throw new Test262Error("#4.1: typeof new Date(date_1970_start) === 'object'");
}
if (new Date(date_1970_start) === undefined) {
$ERROR("#4.2: new Date(date_1970_start) === undefined");
throw new Test262Error("#4.2: new Date(date_1970_start) === undefined");
}
var x43 = new Date(date_1970_start);
if (typeof x43 !== "object") {
$ERROR("#4.3: typeof new Date(date_1970_start) !== 'object'");
throw new Test262Error("#4.3: typeof new Date(date_1970_start) !== 'object'");
}
var x44 = new Date(date_1970_start);
if (x44 === undefined) {
$ERROR("#4.4: new Date(date_1970_start) !== undefined");
throw new Test262Error("#4.4: new Date(date_1970_start) !== undefined");
}
if (typeof new Date(date_1999_end) !== "object") {
$ERROR("#5.1: typeof new Date(date_1999_end) === 'object'");
throw new Test262Error("#5.1: typeof new Date(date_1999_end) === 'object'");
}
if (new Date(date_1999_end) === undefined) {
$ERROR("#5.2: new Date(date_1999_end) === undefined");
throw new Test262Error("#5.2: new Date(date_1999_end) === undefined");
}
var x53 = new Date(date_1999_end);
if (typeof x53 !== "object") {
$ERROR("#5.3: typeof new Date(date_1999_end) !== 'object'");
throw new Test262Error("#5.3: typeof new Date(date_1999_end) !== 'object'");
}
var x54 = new Date(date_1999_end);
if (x54 === undefined) {
$ERROR("#5.4: new Date(date_1999_end) !== undefined");
throw new Test262Error("#5.4: new Date(date_1999_end) !== undefined");
}
if (typeof new Date(date_2000_start) !== "object") {
$ERROR("#6.1: typeof new Date(date_2000_start) === 'object'");
throw new Test262Error("#6.1: typeof new Date(date_2000_start) === 'object'");
}
if (new Date(date_2000_start) === undefined) {
$ERROR("#6.2: new Date(date_2000_start) === undefined");
throw new Test262Error("#6.2: new Date(date_2000_start) === undefined");
}
var x63 = new Date(date_2000_start);
if (typeof x63 !== "object") {
$ERROR("#6.3: typeof new Date(date_2000_start) !== 'object'");
throw new Test262Error("#6.3: typeof new Date(date_2000_start) !== 'object'");
}
var x64 = new Date(date_2000_start);
if (x64 === undefined) {
$ERROR("#6.4: new Date(date_2000_start) !== undefined");
throw new Test262Error("#6.4: new Date(date_2000_start) !== undefined");
}
if (typeof new Date(date_2099_end) !== "object") {
$ERROR("#7.1: typeof new Date(date_2099_end) === 'object'");
throw new Test262Error("#7.1: typeof new Date(date_2099_end) === 'object'");
}
if (new Date(date_2099_end) === undefined) {
$ERROR("#7.2: new Date(date_2099_end) === undefined");
throw new Test262Error("#7.2: new Date(date_2099_end) === undefined");
}
var x73 = new Date(date_2099_end);
if (typeof x73 !== "object") {
$ERROR("#7.3: typeof new Date(date_2099_end) !== 'object'");
throw new Test262Error("#7.3: typeof new Date(date_2099_end) !== 'object'");
}
var x74 = new Date(date_2099_end);
if (x74 === undefined) {
$ERROR("#7.4: new Date(date_2099_end) !== undefined");
throw new Test262Error("#7.4: new Date(date_2099_end) !== undefined");
}
if (typeof new Date(date_2100_start) !== "object") {
$ERROR("#8.1: typeof new Date(date_2100_start) === 'object'");
throw new Test262Error("#8.1: typeof new Date(date_2100_start) === 'object'");
}
if (new Date(date_2100_start) === undefined) {
$ERROR("#8.2: new Date(date_2100_start) === undefined");
throw new Test262Error("#8.2: new Date(date_2100_start) === undefined");
}
var x83 = new Date(date_2100_start);
if (typeof x83 !== "object") {
$ERROR("#8.3: typeof new Date(date_2100_start) !== 'object'");
throw new Test262Error("#8.3: typeof new Date(date_2100_start) !== 'object'");
}
var x84 = new Date(date_2100_start);
if (x84 === undefined) {
$ERROR("#8.4: new Date(date_2100_start) !== undefined");
throw new Test262Error("#8.4: new Date(date_2100_start) !== undefined");
}

View File

@ -13,120 +13,120 @@ includes: [dateConstants.js]
var x11 = new Date(date_1899_end);
if (typeof x11.constructor.prototype !== "object") {
$ERROR("#1.1: typeof x11.constructor.prototype === 'object'");
throw new Test262Error("#1.1: typeof x11.constructor.prototype === 'object'");
}
var x12 = new Date(date_1899_end);
if (!Date.prototype.isPrototypeOf(x12)) {
$ERROR('#1.2: Date.prototype.isPrototypeOf(x12)');
throw new Test262Error('#1.2: Date.prototype.isPrototypeOf(x12)');
}
var x13 = new Date(date_1899_end);
if (Date.prototype !== x13.constructor.prototype) {
$ERROR("#1.3: Date.prototype !== x13.constructor.prototype");
throw new Test262Error("#1.3: Date.prototype !== x13.constructor.prototype");
}
var x21 = new Date(date_1900_start);
if (typeof x21.constructor.prototype !== "object") {
$ERROR("#2.1: typeof x21.constructor.prototype === 'object'");
throw new Test262Error("#2.1: typeof x21.constructor.prototype === 'object'");
}
var x22 = new Date(date_1900_start);
if (!Date.prototype.isPrototypeOf(x22)) {
$ERROR('#2.2: Date.prototype.isPrototypeOf(x22)');
throw new Test262Error('#2.2: Date.prototype.isPrototypeOf(x22)');
}
var x23 = new Date(date_1900_start);
if (Date.prototype !== x23.constructor.prototype) {
$ERROR("#2.3: Date.prototype !== x23.constructor.prototype");
throw new Test262Error("#2.3: Date.prototype !== x23.constructor.prototype");
}
var x31 = new Date(date_1969_end);
if (typeof x31.constructor.prototype !== "object") {
$ERROR("#3.1: typeof x31.constructor.prototype === 'object'");
throw new Test262Error("#3.1: typeof x31.constructor.prototype === 'object'");
}
var x32 = new Date(date_1969_end);
if (!Date.prototype.isPrototypeOf(x32)) {
$ERROR('#3.2: Date.prototype.isPrototypeOf(x32)');
throw new Test262Error('#3.2: Date.prototype.isPrototypeOf(x32)');
}
var x33 = new Date(date_1969_end);
if (Date.prototype !== x33.constructor.prototype) {
$ERROR("#3.3: Date.prototype !== x33.constructor.prototype");
throw new Test262Error("#3.3: Date.prototype !== x33.constructor.prototype");
}
var x41 = new Date(date_1970_start);
if (typeof x41.constructor.prototype !== "object") {
$ERROR("#4.1: typeof x11.constructor.prototype === 'object'");
throw new Test262Error("#4.1: typeof x11.constructor.prototype === 'object'");
}
var x42 = new Date(date_1970_start);
if (!Date.prototype.isPrototypeOf(x42)) {
$ERROR('#4.2: Date.prototype.isPrototypeOf(x42)');
throw new Test262Error('#4.2: Date.prototype.isPrototypeOf(x42)');
}
var x43 = new Date(date_1970_start);
if (Date.prototype !== x43.constructor.prototype) {
$ERROR("#4.3: Date.prototype !== x43.constructor.prototype");
throw new Test262Error("#4.3: Date.prototype !== x43.constructor.prototype");
}
var x51 = new Date(date_1999_end);
if (typeof x51.constructor.prototype !== "object") {
$ERROR("#5.1: typeof x51.constructor.prototype === 'object'");
throw new Test262Error("#5.1: typeof x51.constructor.prototype === 'object'");
}
var x52 = new Date(date_1999_end);
if (!Date.prototype.isPrototypeOf(x52)) {
$ERROR('#5.2: Date.prototype.isPrototypeOf(x52)');
throw new Test262Error('#5.2: Date.prototype.isPrototypeOf(x52)');
}
var x53 = new Date(date_1999_end);
if (Date.prototype !== x53.constructor.prototype) {
$ERROR("#5.3: Date.prototype !== x53.constructor.prototype");
throw new Test262Error("#5.3: Date.prototype !== x53.constructor.prototype");
}
var x61 = new Date(date_2000_start);
if (typeof x61.constructor.prototype !== "object") {
$ERROR("#6.1: typeof x61.constructor.prototype === 'object'");
throw new Test262Error("#6.1: typeof x61.constructor.prototype === 'object'");
}
var x62 = new Date(date_2000_start);
if (!Date.prototype.isPrototypeOf(x62)) {
$ERROR('#6.2: Date.prototype.isPrototypeOf(x62)');
throw new Test262Error('#6.2: Date.prototype.isPrototypeOf(x62)');
}
var x63 = new Date(date_2000_start);
if (Date.prototype !== x63.constructor.prototype) {
$ERROR("#6.3: Date.prototype !== x63.constructor.prototype");
throw new Test262Error("#6.3: Date.prototype !== x63.constructor.prototype");
}
var x71 = new Date(date_2099_end);
if (typeof x71.constructor.prototype !== "object") {
$ERROR("#7.1: typeof x71.constructor.prototype === 'object'");
throw new Test262Error("#7.1: typeof x71.constructor.prototype === 'object'");
}
var x72 = new Date(date_2099_end);
if (!Date.prototype.isPrototypeOf(x72)) {
$ERROR('#7.2: Date.prototype.isPrototypeOf(x72)');
throw new Test262Error('#7.2: Date.prototype.isPrototypeOf(x72)');
}
var x73 = new Date(date_2099_end);
if (Date.prototype !== x73.constructor.prototype) {
$ERROR("#7.3: Date.prototype !== x73.constructor.prototype");
throw new Test262Error("#7.3: Date.prototype !== x73.constructor.prototype");
}
var x81 = new Date(date_2100_start);
if (typeof x81.constructor.prototype !== "object") {
$ERROR("#8.1: typeof x81.constructor.prototype === 'object'");
throw new Test262Error("#8.1: typeof x81.constructor.prototype === 'object'");
}
var x82 = new Date(date_2100_start);
if (!Date.prototype.isPrototypeOf(x82)) {
$ERROR('#8.2: Date.prototype.isPrototypeOf(x82)');
throw new Test262Error('#8.2: Date.prototype.isPrototypeOf(x82)');
}
var x83 = new Date(date_2100_start);
if (Date.prototype !== x83.constructor.prototype) {
$ERROR("#8.3: Date.prototype !== x83.constructor.prototype");
throw new Test262Error("#8.3: Date.prototype !== x83.constructor.prototype");
}

View File

@ -12,40 +12,40 @@ includes: [dateConstants.js]
var x1 = new Date(date_1899_end);
if (Object.prototype.toString.call(x1) !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(date_1900_start);
if (Object.prototype.toString.call(x2) !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(date_1969_end);
if (Object.prototype.toString.call(x3) !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(date_1970_start);
if (Object.prototype.toString.call(x4) !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(date_1999_end);
if (Object.prototype.toString.call(x5) !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(date_2000_start);
if (Object.prototype.toString.call(x6) !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(date_2099_end);
if (Object.prototype.toString.call(x7) !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(date_2100_start);
if (Object.prototype.toString.call(x8) !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -14,40 +14,40 @@ Date.prototype.toString = Object.prototype.toString;
var x1 = new Date(date_1899_end);
if (x1.toString() !== "[object Date]") {
$ERROR("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#1: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x2 = new Date(date_1900_start);
if (x2.toString() !== "[object Date]") {
$ERROR("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#2: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x3 = new Date(date_1969_end);
if (x3.toString() !== "[object Date]") {
$ERROR("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#3: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x4 = new Date(date_1970_start);
if (x4.toString() !== "[object Date]") {
$ERROR("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#4: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x5 = new Date(date_1999_end);
if (x5.toString() !== "[object Date]") {
$ERROR("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#5: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x6 = new Date(date_2000_start);
if (x6.toString() !== "[object Date]") {
$ERROR("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#6: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x7 = new Date(date_2099_end);
if (x7.toString() !== "[object Date]") {
$ERROR("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#7: The [[Class]] property of the newly constructed object is set to 'Date'");
}
var x8 = new Date(date_2100_start);
if (x8.toString() !== "[object Date]") {
$ERROR("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
throw new Test262Error("#8: The [[Class]] property of the newly constructed object is set to 'Date'");
}

View File

@ -8,5 +8,5 @@ description: Checking existence of the property "prototype"
---*/
if (!Date.hasOwnProperty("prototype")) {
$ERROR('#1: The Date constructor has the property "prototype"');
throw new Test262Error('#1: The Date constructor has the property "prototype"');
}

View File

@ -8,5 +8,5 @@ description: Checking existence of the property "parse"
---*/
if (!Date.hasOwnProperty("parse")) {
$ERROR('#1: The Date constructor has the property "parse"');
throw new Test262Error('#1: The Date constructor has the property "parse"');
}

View File

@ -8,5 +8,5 @@ description: Checking existence of the property "UTC"
---*/
if (!Date.hasOwnProperty("UTC")) {
$ERROR('#1: The Date constructor has the property "UTC"');
throw new Test262Error('#1: The Date constructor has the property "UTC"');
}

View File

@ -11,5 +11,5 @@ description: Checking Function.prototype.isPrototypeOf(Date)
//CHECK#1
if (!(Function.prototype.isPrototypeOf(Date))) {
$ERROR('#1: the value of the internal [[Prototype]] property of the Date constructor is the Function prototype object.');
throw new Test262Error('#1: the value of the internal [[Prototype]] property of the Date constructor is the Function prototype object.');
}

View File

@ -9,10 +9,10 @@ description: Checking Date.length property
//CHECK#1
if (!Date.hasOwnProperty("length")) {
$ERROR('#1: Date constructor has length property');
throw new Test262Error('#1: Date constructor has length property');
}
//CHECK#2
if (Date.length !== 7) {
$ERROR('#2: Date constructor length property value should be 7');
throw new Test262Error('#2: Date constructor length property value should be 7');
}

View File

@ -14,5 +14,5 @@ if (x === 1)
else
Date.UTC = 1;
if (Date.UTC === x) {
$ERROR('#1: The Date.UTC has not the attribute ReadOnly');
throw new Test262Error('#1: The Date.UTC has not the attribute ReadOnly');
}

View File

@ -9,9 +9,9 @@ description: Checking absence of DontDelete attribute
---*/
if (delete Date.UTC === false) {
$ERROR('#1: The Date.UTC property has not the attributes DontDelete');
throw new Test262Error('#1: The Date.UTC property has not the attributes DontDelete');
}
if (Date.hasOwnProperty('UTC')) {
$ERROR('#2: The Date.UTC property has not the attributes DontDelete');
throw new Test262Error('#2: The Date.UTC property has not the attributes DontDelete');
}

View File

@ -9,11 +9,11 @@ description: Checking DontEnum attribute
---*/
if (Date.propertyIsEnumerable('UTC')) {
$ERROR('#1: The Date.UTC property has the attribute DontEnum');
throw new Test262Error('#1: The Date.UTC property has the attribute DontEnum');
}
for (var x in Date) {
if (x === "UTC") {
$ERROR('#2: The Date.UTC has the attribute DontEnum');
throw new Test262Error('#2: The Date.UTC has the attribute DontEnum');
}
}

View File

@ -9,9 +9,9 @@ description: The "length" property of the "UTC" is 7
---*/
if (Date.UTC.hasOwnProperty("length") !== true) {
$ERROR('#1: The UTC has a "length" property');
throw new Test262Error('#1: The UTC has a "length" property');
}
if (Date.UTC.length !== 7) {
$ERROR('#2: The "length" property of the UTC is 7');
throw new Test262Error('#2: The "length" property of the UTC is 7');
}

View File

@ -14,5 +14,5 @@ includes: [propertyHelper.js]
var x = Date.UTC.length;
verifyNotWritable(Date.UTC, "length", null, 1);
if (Date.UTC.length !== x) {
$ERROR('#1: The Date.UTC.length has the attribute ReadOnly');
throw new Test262Error('#1: The Date.UTC.length has the attribute ReadOnly');
}

View File

@ -11,9 +11,9 @@ description: Checking DontDelete attribute
---*/
if (delete Date.UTC.length !== true) {
$ERROR('#1: The Date.UTC.length property does not have the attributes DontDelete');
throw new Test262Error('#1: The Date.UTC.length property does not have the attributes DontDelete');
}
if (Date.UTC.hasOwnProperty('length')) {
$ERROR('#2: The Date.UTC.length property does not have the attributes DontDelete');
throw new Test262Error('#2: The Date.UTC.length property does not have the attributes DontDelete');
}

View File

@ -11,11 +11,11 @@ description: Checking DontEnum attribute
---*/
if (Date.UTC.propertyIsEnumerable('length')) {
$ERROR('#1: The Date.UTC.length property has the attribute DontEnum');
throw new Test262Error('#1: The Date.UTC.length property has the attribute DontEnum');
}
for (var x in Date.UTC) {
if (x === "length") {
$ERROR('#2: The Date.UTC.length has the attribute DontEnum');
throw new Test262Error('#2: The Date.UTC.length has the attribute DontEnum');
}
}

View File

@ -18,10 +18,10 @@ var dateValue = 1438560000000;
var oldDate = new Date(dateValue);
oldDate.toString = function() {
$ERROR("toString() method called");
throw new Test262Error("toString() method called");
};
oldDate.valueOf = function() {
$ERROR("valueOf() method called");
throw new Test262Error("valueOf() method called");
};
var newDate = new Date(oldDate);

View File

@ -13,5 +13,5 @@ if (x === 1)
else
Date.parse = 1;
if (Date.parse === x) {
$ERROR('#1: The Date.parse has not the attribute ReadOnly');
throw new Test262Error('#1: The Date.parse has not the attribute ReadOnly');
}

View File

@ -8,9 +8,9 @@ description: Checking absence of DontDelete attribute
---*/
if (delete Date.parse === false) {
$ERROR('#1: The Date.parse property has not the attributes DontDelete');
throw new Test262Error('#1: The Date.parse property has not the attributes DontDelete');
}
if (Date.hasOwnProperty('parse')) {
$ERROR('#2: The Date.parse property has not the attributes DontDelete');
throw new Test262Error('#2: The Date.parse property has not the attributes DontDelete');
}

View File

@ -8,11 +8,11 @@ description: Checking DontEnum attribute
---*/
if (Date.propertyIsEnumerable('parse')) {
$ERROR('#1: The Date.parse property has the attribute DontEnum');
throw new Test262Error('#1: The Date.parse property has the attribute DontEnum');
}
for (var x in Date) {
if (x === "parse") {
$ERROR('#2: The Date.parse has the attribute DontEnum');
throw new Test262Error('#2: The Date.parse has the attribute DontEnum');
}
}

View File

@ -8,9 +8,9 @@ description: The "length" property of the "parse" is 1
---*/
if (Date.parse.hasOwnProperty("length") !== true) {
$ERROR('#1: The parse has a "length" property');
throw new Test262Error('#1: The parse has a "length" property');
}
if (Date.parse.length !== 1) {
$ERROR('#2: The "length" property of the parse is 1');
throw new Test262Error('#2: The "length" property of the parse is 1');
}

View File

@ -13,5 +13,5 @@ includes: [propertyHelper.js]
var x = Date.parse.length;
verifyNotWritable(Date.parse, "length", null, 1);
if (Date.parse.length !== x) {
$ERROR('#1: The Date.parse.length has the attribute ReadOnly');
throw new Test262Error('#1: The Date.parse.length has the attribute ReadOnly');
}

View File

@ -10,9 +10,9 @@ description: Checking DontDelete attribute
---*/
if (delete Date.parse.length !== true) {
$ERROR('#1: The Date.parse.length property does not have the attributes DontDelete');
throw new Test262Error('#1: The Date.parse.length property does not have the attributes DontDelete');
}
if (Date.parse.hasOwnProperty('length')) {
$ERROR('#2: The Date.parse.length property does not have the attributes DontDelete');
throw new Test262Error('#2: The Date.parse.length property does not have the attributes DontDelete');
}

View File

@ -10,11 +10,11 @@ description: Checking DontEnum attribute
---*/
if (Date.parse.propertyIsEnumerable('length')) {
$ERROR('#1: The Date.parse.length property has the attribute DontEnum');
throw new Test262Error('#1: The Date.parse.length property has the attribute DontEnum');
}
for (var x in Date.parse) {
if (x === "length") {
$ERROR('#2: The Date.parse.length has the attribute DontEnum');
throw new Test262Error('#2: The Date.parse.length has the attribute DontEnum');
}
}

View File

@ -13,5 +13,5 @@ includes: [propertyHelper.js]
var x = Date.prototype;
verifyNotWritable(Date, "prototype", null, 1);
if (Date.prototype !== x) {
$ERROR('#1: The Date.prototype has the attribute ReadOnly');
throw new Test262Error('#1: The Date.prototype has the attribute ReadOnly');
}

View File

@ -14,7 +14,7 @@ verifyNotConfigurable(Date, "prototype");
try {
if (delete Date.prototype !== false) {
$ERROR('#1: The Date.prototype property has the attributes DontDelete');
throw new Test262Error('#1: The Date.prototype property has the attributes DontDelete');
}
} catch (e) {
if (e instanceof Test262Error) throw e;
@ -22,5 +22,5 @@ try {
}
if (!Date.hasOwnProperty('prototype')) {
$ERROR('#2: The Date.prototype property has the attributes DontDelete');
throw new Test262Error('#2: The Date.prototype property has the attributes DontDelete');
}

View File

@ -10,11 +10,11 @@ description: Checking DontEnum attribute
---*/
if (Date.propertyIsEnumerable('prototype')) {
$ERROR('#1: The Date.prototype property has the attribute DontEnum');
throw new Test262Error('#1: The Date.prototype property has the attribute DontEnum');
}
for (var x in Date) {
if (x === "prototype") {
$ERROR('#2: The Date.prototype has the attribute DontEnum');
throw new Test262Error('#2: The Date.prototype has the attribute DontEnum');
}
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "constructor"
---*/
if (Date.prototype.hasOwnProperty("constructor") !== true) {
$ERROR('#1: The Date.prototype has the property "constructor"');
throw new Test262Error('#1: The Date.prototype has the property "constructor"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "toString"
---*/
if (Date.prototype.hasOwnProperty("toString") !== true) {
$ERROR('#1: The Date.prototype has the property "toString"');
throw new Test262Error('#1: The Date.prototype has the property "toString"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "toDateString"
---*/
if (Date.prototype.hasOwnProperty("toDateString") !== true) {
$ERROR('#1: The Date.prototype has the property "toDateString"');
throw new Test262Error('#1: The Date.prototype has the property "toDateString"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "toTimeString"
---*/
if (Date.prototype.hasOwnProperty("toTimeString") !== true) {
$ERROR('#1: The Date.prototype has the property "toTimeString"');
throw new Test262Error('#1: The Date.prototype has the property "toTimeString"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "toLocaleString"
---*/
if (Date.prototype.hasOwnProperty("toLocaleString") !== true) {
$ERROR('#1: The Date.prototype has the property "toLocaleString"');
throw new Test262Error('#1: The Date.prototype has the property "toLocaleString"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "toLocaleDateString"
---*/
if (Date.prototype.hasOwnProperty("toLocaleDateString") !== true) {
$ERROR('#1: The Date.prototype has the property "toLocaleDateString"');
throw new Test262Error('#1: The Date.prototype has the property "toLocaleDateString"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "toLocaleTimeString"
---*/
if (Date.prototype.hasOwnProperty("toLocaleTimeString") !== true) {
$ERROR('#1: The Date.prototype has the property "toLocaleTimeString"');
throw new Test262Error('#1: The Date.prototype has the property "toLocaleTimeString"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "valueOf"
---*/
if (Date.prototype.hasOwnProperty("valueOf") !== true) {
$ERROR('#1: The Date.prototype has the property "valueOf"');
throw new Test262Error('#1: The Date.prototype has the property "valueOf"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getTime"
---*/
if (Date.prototype.hasOwnProperty("getTime") !== true) {
$ERROR('#1: The Date.prototype has the property "getTime"');
throw new Test262Error('#1: The Date.prototype has the property "getTime"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getFullYear"
---*/
if (Date.prototype.hasOwnProperty("getFullYear") !== true) {
$ERROR('#1: The Date.prototype has the property "getFullYear"');
throw new Test262Error('#1: The Date.prototype has the property "getFullYear"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getUTCFullYear"
---*/
if (Date.prototype.hasOwnProperty("getUTCFullYear") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCFullYear"');
throw new Test262Error('#1: The Date.prototype has the property "getUTCFullYear"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getMonth"
---*/
if (Date.prototype.hasOwnProperty("getMonth") !== true) {
$ERROR('#1: The Date.prototype has the property "getMonth"');
throw new Test262Error('#1: The Date.prototype has the property "getMonth"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getUTCMonth"
---*/
if (Date.prototype.hasOwnProperty("getUTCMonth") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCMonth"');
throw new Test262Error('#1: The Date.prototype has the property "getUTCMonth"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getDate"
---*/
if (Date.prototype.hasOwnProperty("getDate") !== true) {
$ERROR('#1: The Date.prototype has the property "getDate"');
throw new Test262Error('#1: The Date.prototype has the property "getDate"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getUTCDate"
---*/
if (Date.prototype.hasOwnProperty("getUTCDate") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCDate"');
throw new Test262Error('#1: The Date.prototype has the property "getUTCDate"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getDay"
---*/
if (Date.prototype.hasOwnProperty("getDay") !== true) {
$ERROR('#1: The Date.prototype has the property "getDay"');
throw new Test262Error('#1: The Date.prototype has the property "getDay"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getUTCDay"
---*/
if (Date.prototype.hasOwnProperty("getUTCDay") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCDay"');
throw new Test262Error('#1: The Date.prototype has the property "getUTCDay"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getHours"
---*/
if (Date.prototype.hasOwnProperty("getHours") !== true) {
$ERROR('#1: The Date.prototype has the property "getHours"');
throw new Test262Error('#1: The Date.prototype has the property "getHours"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getUTCHours"
---*/
if (Date.prototype.hasOwnProperty("getUTCHours") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCHours"');
throw new Test262Error('#1: The Date.prototype has the property "getUTCHours"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getMinutes"
---*/
if (Date.prototype.hasOwnProperty("getMinutes") !== true) {
$ERROR('#1: The Date.prototype has the property "getMinutes"');
throw new Test262Error('#1: The Date.prototype has the property "getMinutes"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getUTCMinutes"
---*/
if (Date.prototype.hasOwnProperty("getUTCMinutes") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCMinutes"');
throw new Test262Error('#1: The Date.prototype has the property "getUTCMinutes"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getSeconds"
---*/
if (Date.prototype.hasOwnProperty("getSeconds") !== true) {
$ERROR('#1: The Date.prototype has the property "getSeconds"');
throw new Test262Error('#1: The Date.prototype has the property "getSeconds"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getUTCSeconds"
---*/
if (Date.prototype.hasOwnProperty("getUTCSeconds") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCSeconds"');
throw new Test262Error('#1: The Date.prototype has the property "getUTCSeconds"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getMilliseconds"
---*/
if (Date.prototype.hasOwnProperty("getMilliseconds") !== true) {
$ERROR('#1: The Date.prototype has the property "getMilliseconds"');
throw new Test262Error('#1: The Date.prototype has the property "getMilliseconds"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getUTCMilliseconds"
---*/
if (Date.prototype.hasOwnProperty("getUTCMilliseconds") !== true) {
$ERROR('#1: The Date.prototype has the property "getUTCMilliseconds"');
throw new Test262Error('#1: The Date.prototype has the property "getUTCMilliseconds"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "getTimezoneOffset"
---*/
if (Date.prototype.hasOwnProperty("getTimezoneOffset") !== true) {
$ERROR('#1: The Date.prototype has the property "getTimezoneOffset"');
throw new Test262Error('#1: The Date.prototype has the property "getTimezoneOffset"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setTime"
---*/
if (Date.prototype.hasOwnProperty("setTime") !== true) {
$ERROR('#1: The Date.prototype has the property "setTime"');
throw new Test262Error('#1: The Date.prototype has the property "setTime"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setMilliseconds"
---*/
if (Date.prototype.hasOwnProperty("setMilliseconds") !== true) {
$ERROR('#1: The Date.prototype has the property "setMilliseconds"');
throw new Test262Error('#1: The Date.prototype has the property "setMilliseconds"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setUTCMilliseconds"
---*/
if (Date.prototype.hasOwnProperty("setUTCMilliseconds") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCMilliseconds"');
throw new Test262Error('#1: The Date.prototype has the property "setUTCMilliseconds"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setSeconds"
---*/
if (Date.prototype.hasOwnProperty("setSeconds") !== true) {
$ERROR('#1: The Date.prototype has the property "setSeconds"');
throw new Test262Error('#1: The Date.prototype has the property "setSeconds"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setUTCSeconds"
---*/
if (Date.prototype.hasOwnProperty("setUTCSeconds") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCSeconds"');
throw new Test262Error('#1: The Date.prototype has the property "setUTCSeconds"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setMinutes"
---*/
if (Date.prototype.hasOwnProperty("setMinutes") !== true) {
$ERROR('#1: The Date.prototype has the property "setMinutes"');
throw new Test262Error('#1: The Date.prototype has the property "setMinutes"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setUTCMinutes"
---*/
if (Date.prototype.hasOwnProperty("setUTCMinutes") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCMinutes"');
throw new Test262Error('#1: The Date.prototype has the property "setUTCMinutes"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setHours"
---*/
if (Date.prototype.hasOwnProperty("setHours") !== true) {
$ERROR('#1: The Date.prototype has the property "setHours"');
throw new Test262Error('#1: The Date.prototype has the property "setHours"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setUTCHours"
---*/
if (Date.prototype.hasOwnProperty("setUTCHours") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCHours"');
throw new Test262Error('#1: The Date.prototype has the property "setUTCHours"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setDate"
---*/
if (Date.prototype.hasOwnProperty("setDate") !== true) {
$ERROR('#1: The Date.prototype has the property "setDate"');
throw new Test262Error('#1: The Date.prototype has the property "setDate"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setUTCDate"
---*/
if (Date.prototype.hasOwnProperty("setUTCDate") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCDate"');
throw new Test262Error('#1: The Date.prototype has the property "setUTCDate"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setMonth"
---*/
if (Date.prototype.hasOwnProperty("setMonth") !== true) {
$ERROR('#1: The Date.prototype has the property "setMonth"');
throw new Test262Error('#1: The Date.prototype has the property "setMonth"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setUTCMonth"
---*/
if (Date.prototype.hasOwnProperty("setUTCMonth") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCMonth"');
throw new Test262Error('#1: The Date.prototype has the property "setUTCMonth"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setFullYear"
---*/
if (Date.prototype.hasOwnProperty("setFullYear") !== true) {
$ERROR('#1: The Date.prototype has the property "setFullYear"');
throw new Test262Error('#1: The Date.prototype has the property "setFullYear"');
}

View File

@ -8,5 +8,5 @@ description: The Date.prototype has the property "setUTCFullYear"
---*/
if (Date.prototype.hasOwnProperty("setUTCFullYear") !== true) {
$ERROR('#1: The Date.prototype has the property "setUTCFullYear"');
throw new Test262Error('#1: The Date.prototype has the property "setUTCFullYear"');
}

Some files were not shown because too many files have changed in this diff Show More