mirror of https://github.com/tc39/test262.git
Fixed. Re-gen'ed the website.
This commit is contained in:
parent
d9e409ac1b
commit
c64d7b5758
|
@ -11,7 +11,9 @@
|
||||||
try {
|
try {
|
||||||
do __in__do = "reached"; while (abbracadabra);
|
do __in__do = "reached"; while (abbracadabra);
|
||||||
$ERROR('#1: \'do __in__do = "reached"; while (abbracadabra)\' lead to throwing exception');
|
$ERROR('#1: \'do __in__do = "reached"; while (abbracadabra)\' lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
|
|
|
@ -17,7 +17,9 @@ try {
|
||||||
} while(0);
|
} while(0);
|
||||||
$ERROR('#1: "abbracadabra" lead to throwing exception');
|
$ERROR('#1: "abbracadabra" lead to throwing exception');
|
||||||
|
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
|
|
||||||
if (x !== 1) {
|
if (x !== 1) {
|
||||||
$ERROR('#1.1: x === 1. Actual: x ==='+ x );
|
$ERROR('#1.1: x === 1. Actual: x ==='+ x );
|
||||||
|
|
|
@ -17,7 +17,9 @@ try {
|
||||||
};
|
};
|
||||||
$ERROR('#1: "abbracadabra" lead to throwing exception');
|
$ERROR('#1: "abbracadabra" lead to throwing exception');
|
||||||
|
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
|
|
||||||
if (x !== 1) {
|
if (x !== 1) {
|
||||||
$ERROR('#1.1: while statement evaluates as is, without syntax checks');
|
$ERROR('#1.1: while statement evaluates as is, without syntax checks');
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
* @description Returning number. Declaring a function with "function __func()"
|
* @description Returning number. Declaring a function with "function __func()"
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var x;
|
|
||||||
function __func(){
|
function __func(){
|
||||||
x = 1;
|
x = 1;
|
||||||
return x;
|
return x;
|
||||||
|
@ -21,7 +20,9 @@ function __func(){
|
||||||
try {
|
try {
|
||||||
x=x;
|
x=x;
|
||||||
$ERROR('#0: "x=x" lead to throwing exception');
|
$ERROR('#0: "x=x" lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,9 @@ function __func(){
|
||||||
try {
|
try {
|
||||||
x=x;
|
x=x;
|
||||||
$ERROR('#0: "x=x" lead to throwing exception');
|
$ERROR('#0: "x=x" lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
@ -47,7 +49,9 @@ if (!(__x)) {
|
||||||
try {
|
try {
|
||||||
x=x;
|
x=x;
|
||||||
$ERROR('#3: "x=x" lead to throwing exception');
|
$ERROR('#3: "x=x" lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,9 @@ function FACTORY(){
|
||||||
try {
|
try {
|
||||||
var obj = new FACTORY();
|
var obj = new FACTORY();
|
||||||
$ERROR('#1: var obj = new FACTORY() lead to throwing exception');
|
$ERROR('#1: var obj = new FACTORY() lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,9 @@ function FACTORY(){
|
||||||
try {
|
try {
|
||||||
var obj = new FACTORY();
|
var obj = new FACTORY();
|
||||||
$ERROR('#1: var obj = new FACTORY() lead to throwing exception');
|
$ERROR('#1: var obj = new FACTORY() lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,9 @@ function FACTORY(){
|
||||||
try {
|
try {
|
||||||
var obj = new FACTORY();
|
var obj = new FACTORY();
|
||||||
$ERROR('#1: var obj = new FACTORY() lead to throwing exception');
|
$ERROR('#1: var obj = new FACTORY() lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,9 @@ for (var indexB1 = 0x00; indexB1 <= 0x7F; indexB1++) {
|
||||||
}
|
}
|
||||||
if (hex === "#") continue l;
|
if (hex === "#") continue l;
|
||||||
if (decodeURI("%" + hexB1.substring(2)) === hex) continue;
|
if (decodeURI("%" + hexB1.substring(2)) === hex) continue;
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
if (indexO === 0) {
|
if (indexO === 0) {
|
||||||
indexO = index;
|
indexO = index;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -21,7 +21,9 @@ for (var indexB1 = 0xC2; indexB1 <= 0xDF; indexB1++) {
|
||||||
var index = (indexB1 & 0x1F) * 0x40 + (indexB2 & 0x3F);
|
var index = (indexB1 & 0x1F) * 0x40 + (indexB2 & 0x3F);
|
||||||
try {
|
try {
|
||||||
if (decodeURI("%" + hexB1.substring(2) + "%" + hexB2.substring(2)) === String.fromCharCode(index)) continue;
|
if (decodeURI("%" + hexB1.substring(2) + "%" + hexB2.substring(2)) === String.fromCharCode(index)) continue;
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
if (indexO === 0) {
|
if (indexO === 0) {
|
||||||
indexO = index;
|
indexO = index;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -25,7 +25,9 @@ for (var indexB1 = 0xE0; indexB1 <= 0xEF; indexB1++) {
|
||||||
var index = (indexB1 & 0x0F) * 0x1000 + (indexB2 & 0x3F) * 0x40 + (indexB3 & 0x3F);
|
var index = (indexB1 & 0x0F) * 0x1000 + (indexB2 & 0x3F) * 0x40 + (indexB3 & 0x3F);
|
||||||
try {
|
try {
|
||||||
if (decodeURI("%" + hexB1.substring(2) + "%" + hexB2.substring(2) + "%" + hexB3.substring(2)) === String.fromCharCode(index)) continue;
|
if (decodeURI("%" + hexB1.substring(2) + "%" + hexB2.substring(2) + "%" + hexB3.substring(2)) === String.fromCharCode(index)) continue;
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
if (indexO === 0) {
|
if (indexO === 0) {
|
||||||
indexO = index;
|
indexO = index;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -29,7 +29,9 @@ for (var indexB1 = 0xF0; indexB1 <= 0xF4; indexB1++) {
|
||||||
var H = (((index - 0x10000) >> 10) & 0x03FF) + 0xD800;
|
var H = (((index - 0x10000) >> 10) & 0x03FF) + 0xD800;
|
||||||
try {
|
try {
|
||||||
if (decodeURI("%" + hexB1.substring(3) + "%" + hexB2.substring(3) + "%" + hexB3.substring(3) + "%" + hexB4.substring(3)) === String.fromCharCode(H) + String.fromCharCode(L)) continue;
|
if (decodeURI("%" + hexB1.substring(3) + "%" + hexB2.substring(3) + "%" + hexB3.substring(3) + "%" + hexB4.substring(3)) === String.fromCharCode(H) + String.fromCharCode(L)) continue;
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
if (indexO === 0) {
|
if (indexO === 0) {
|
||||||
indexO = index;
|
indexO = index;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -19,7 +19,9 @@ for (indexB1 = 0x00; indexB1 <= 0x7F; indexB1++) {
|
||||||
try {
|
try {
|
||||||
hex = String.fromCharCode(index);
|
hex = String.fromCharCode(index);
|
||||||
if (decodeURIComponent("%" + hexB1.substring(2)) === hex) continue;
|
if (decodeURIComponent("%" + hexB1.substring(2)) === hex) continue;
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
if (indexO === 0) {
|
if (indexO === 0) {
|
||||||
indexO = index;
|
indexO = index;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -21,7 +21,9 @@ for (indexB1 = 0xC2; indexB1 <= 0xDF; indexB1++) {
|
||||||
var index = (indexB1 & 0x1F) * 0x40 + (indexB2 & 0x3F);
|
var index = (indexB1 & 0x1F) * 0x40 + (indexB2 & 0x3F);
|
||||||
try {
|
try {
|
||||||
if (decodeURIComponent("%" + hexB1.substring(2) + "%" + hexB2.substring(2)) === String.fromCharCode(index)) continue;
|
if (decodeURIComponent("%" + hexB1.substring(2) + "%" + hexB2.substring(2)) === String.fromCharCode(index)) continue;
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
if (indexO === 0) {
|
if (indexO === 0) {
|
||||||
indexO = index;
|
indexO = index;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -25,7 +25,9 @@ for (indexB1 = 0xE0; indexB1 <= 0xEF; indexB1++) {
|
||||||
var index = (indexB1 & 0x0F) * 0x1000 + (indexB2 & 0x3F) * 0x40 + (indexB3 & 0x3F);
|
var index = (indexB1 & 0x0F) * 0x1000 + (indexB2 & 0x3F) * 0x40 + (indexB3 & 0x3F);
|
||||||
try {
|
try {
|
||||||
if (decodeURIComponent("%" + hexB1.substring(2) + "%" + hexB2.substring(2) + "%" + hexB3.substring(2)) === String.fromCharCode(index)) continue;
|
if (decodeURIComponent("%" + hexB1.substring(2) + "%" + hexB2.substring(2) + "%" + hexB3.substring(2)) === String.fromCharCode(index)) continue;
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
if (indexO === 0) {
|
if (indexO === 0) {
|
||||||
indexO = index;
|
indexO = index;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -29,7 +29,9 @@ for (indexB1 = 0xF0; indexB1 <= 0xF4; indexB1++) {
|
||||||
var H = (((index - 0x10000) >> 10) & 0x03FF) + 0xD800;
|
var H = (((index - 0x10000) >> 10) & 0x03FF) + 0xD800;
|
||||||
try {
|
try {
|
||||||
if (decodeURIComponent("%" + hexB1.substring(3) + "%" + hexB2.substring(3) + "%" + hexB3.substring(3) + "%" + hexB4.substring(3)) === String.fromCharCode(H) + String.fromCharCode(L)) continue;
|
if (decodeURIComponent("%" + hexB1.substring(3) + "%" + hexB2.substring(3) + "%" + hexB3.substring(3) + "%" + hexB4.substring(3)) === String.fromCharCode(H) + String.fromCharCode(L)) continue;
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
if (indexO === 0) {
|
if (indexO === 0) {
|
||||||
indexO = index;
|
indexO = index;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
try {
|
try {
|
||||||
Error.prototype();
|
Error.prototype();
|
||||||
$FAIL('#1: "Error.prototype()" lead to throwing exception');
|
$FAIL('#1: "Error.prototype()" lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
try {
|
try {
|
||||||
__instance = new Object.prototype;
|
__instance = new Object.prototype;
|
||||||
$FAIL('#1: "__instance = new Object.prototype" lead to throwing exception');
|
$FAIL('#1: "__instance = new Object.prototype" lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,9 @@ delete String.fromCharCode;
|
||||||
try {
|
try {
|
||||||
var __obj = new __fcc__func(65,66,66,65);
|
var __obj = new __fcc__func(65,66,66,65);
|
||||||
$FAIL('#1: __fcc__func = String.fromCharCode; var __obj = new __fcc__func(65,66,66,65) lead to throwing exception');
|
$FAIL('#1: __fcc__func = String.fromCharCode; var __obj = new __fcc__func(65,66,66,65) lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
|
@ -13,5 +13,7 @@ var __FACTORY = String.prototype.match;
|
||||||
try {
|
try {
|
||||||
var __instance = new __FACTORY;
|
var __instance = new __FACTORY;
|
||||||
$FAIL('#1: __FACTORY = String.prototype.match; __FACTORY = String.prototype.match; __instance = new __FACTORY lead to throwing exception');
|
$FAIL('#1: __FACTORY = String.prototype.match; __FACTORY = String.prototype.match; __instance = new __FACTORY lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,5 +13,7 @@ var __FACTORY = String.prototype.replace;
|
||||||
try {
|
try {
|
||||||
var __instance = new __FACTORY;
|
var __instance = new __FACTORY;
|
||||||
$FAIL('#1: __FACTORY = String.prototype.replace; "__instance = new __FACTORY" lead to throwing exception');
|
$FAIL('#1: __FACTORY = String.prototype.replace; "__instance = new __FACTORY" lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,5 +13,7 @@ var __FACTORY = String.prototype.split;
|
||||||
try {
|
try {
|
||||||
var __instance = new __FACTORY;
|
var __instance = new __FACTORY;
|
||||||
$FAIL('#1: __FACTORY = String.prototype.split; "__instance = new __FACTORY" lead to throwing exception');
|
$FAIL('#1: __FACTORY = String.prototype.split; "__instance = new __FACTORY" lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,5 +13,7 @@ var __FACTORY = String.prototype.charCodeAt;
|
||||||
try {
|
try {
|
||||||
var __instance = new __FACTORY;
|
var __instance = new __FACTORY;
|
||||||
$FAIL('#1: __FACTORY = String.prototype.charCodeAt; "__instance = new __FACTORY" lead to throwing exception');
|
$FAIL('#1: __FACTORY = String.prototype.charCodeAt; "__instance = new __FACTORY" lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,5 +13,7 @@ var __FACTORY = String.prototype.concat;
|
||||||
try {
|
try {
|
||||||
var __instance = new __FACTORY;
|
var __instance = new __FACTORY;
|
||||||
$FAIL('#1: __FACTORY = String.prototype.concat; "__instance = new __FACTORY" lead throwing exception');
|
$FAIL('#1: __FACTORY = String.prototype.concat; "__instance = new __FACTORY" lead throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,5 +13,7 @@ var __FACTORY = String.prototype.localeCompare;
|
||||||
try {
|
try {
|
||||||
var __instance = new __FACTORY;
|
var __instance = new __FACTORY;
|
||||||
$FAIL('#1: __FACTORY = String.prototype.localeCompare; __instance = new __FACTORY lead to throwing exception');
|
$FAIL('#1: __FACTORY = String.prototype.localeCompare; __instance = new __FACTORY lead to throwing exception');
|
||||||
} catch (e) {}
|
} catch (e) {
|
||||||
|
if (e instanceof Test262Error) throw e;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":11181,"testSuite":["json/ch07.json","json/ch08.json","json/ch09.json","json/ch10.json","json/ch11.json","json/ch12.json","json/ch13.json","json/ch14.json","json/ch15.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":11177,"testSuite":["json/ch07.json","json/ch08.json","json/ch09.json","json/ch10.json","json/ch11.json","json/ch12.json","json/ch13.json","json/ch14.json","json/ch15.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":13,"testSuite":["json/bestPractice.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":17,"testSuite":["json/bestPractice.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":716,"testSuite":["json/ch07.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":716,"testSuite":["json/ch07.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":124,"testSuite":["json/ch08.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":124,"testSuite":["json/ch08.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":128,"testSuite":["json/ch09.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":128,"testSuite":["json/ch09.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":184,"testSuite":["json/ch10.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":184,"testSuite":["json/ch10.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":1310,"testSuite":["json/ch11.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":1310,"testSuite":["json/ch11.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":525,"testSuite":["json/ch12.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":521,"testSuite":["json/ch12.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":200,"testSuite":["json/ch13.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":200,"testSuite":["json/ch13.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":24,"testSuite":["json/ch14.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":24,"testSuite":["json/ch14.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":7970,"testSuite":["json/ch15.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":7970,"testSuite":["json/ch15.json"],"version":"ES5.1"}
|
|
@ -1 +1 @@
|
||||||
{"date":"2012-02-22","numTests":1,"testSuite":["json/intl402.json"],"version":"ES5.1"}
|
{"date":"2012-02-24","numTests":1,"testSuite":["json/intl402.json"],"version":"ES5.1"}
|
Loading…
Reference in New Issue