diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-b-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-b-1.js index e2d1bcadb399ca2af8a9e90b1b2303b418f65e55..4b338d23579322da90acfddedd7f40caaad1d8b3 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-b-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-b-1.js @@ -38,11 +38,11 @@ test: function testcase() { try { eval("({foo : 1, get foo(){}});"); + return false; } catch(e) { - if(e instanceof SyntaxError) - return true; + return e instanceof SyntaxError; } }, diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-b-2.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-b-2.js index 1cb1a1c29f3fd0a664f17464af9de0893532b0e8..fb4795d344118d9dbcd327fc837e046b78d5ba2d 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-b-2.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-b-2.js @@ -38,11 +38,11 @@ test: function testcase() { try { eval("({foo : 1, set foo(x){}});"); + return false; } catch(e) { - if(e instanceof SyntaxError) - return true; + return e instanceof SyntaxError; } }, diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-c-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-c-1.js index 4053f71c9c4e08a2fc20d629c2d3d38adb5b8444..cee036998fb37180b1ccce27eb05715ed20623c7 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-c-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-c-1.js @@ -38,11 +38,11 @@ test: function testcase() { try { eval("({get foo(){}, foo : 1});"); + return false; } catch(e) { - if(e instanceof SyntaxError) - return true; + return e instanceof SyntaxError; } }, diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-c-2.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-c-2.js index c6934c596ce9e2b3ef52e95d01329b7d44cd75fa..120bffa65ce60b265f6bc64a66d9ab36ccf331ad 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-c-2.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-c-2.js @@ -38,11 +38,11 @@ test: function testcase() { try { eval("({set foo(x){}, foo : 1});"); + return false; } catch(e) { - if(e instanceof SyntaxError) - return true; + return e instanceof SyntaxError; } }, diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-1.js index 0bdeea05800ad0b90059a98e42f067eb752a2b78..585d48d9abc304a155e7c0c5aac973598c1ed3d4 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-1.js @@ -38,11 +38,11 @@ test: function testcase() { try { eval("({get foo(){}, get foo(){}});"); + return false; } catch(e) { - if(e instanceof SyntaxError) - return true; + return e instanceof SyntaxError; } }, precondition: function () { diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-2.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-2.js index 0c219bd09d5a37ed08f715a10a06e32e085fcbe9..dcb591c2d0810d331d8a2c9eaee30282ccb43ac3 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-2.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-2.js @@ -38,11 +38,11 @@ test: function testcase() { try { eval("({set foo(arg){}, set foo(arg1){}});"); + return false; } catch(e) { - if(e instanceof SyntaxError) - return true; + return e instanceof SyntaxError; } }, diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-3.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-3.js index 80b6f1696d04649399375b034420c59e4ece7f70..f02221c965c98843aed50cd5ff7a29edb2a75c28 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-3.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-3.js @@ -38,11 +38,11 @@ test: function testcase() { try { eval("({get foo(){}, set foo(arg){}, get foo(){}});"); + return false; } catch(e) { - if(e instanceof SyntaxError) - return true; + return e instanceof SyntaxError; } }, diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-4.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-4.js index d56ae6b426ac4b8554ec376dc1f6f9a4d678ef41..2ff3c7e10b8531c8b937a361c9e516fa0dccce81 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-4.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.1/11.1.5/11.1.5_4-4-d-4.js @@ -38,11 +38,11 @@ test: function testcase() { try { eval("({set foo(arg){}, get foo(){}, set foo(arg1){}});"); + return false; } catch(e) { - if(e instanceof SyntaxError) - return true; + return e instanceof SyntaxError; } }, diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.4/11.4.1/11.4.1-4.a-5.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.4/11.4.1/11.4.1-4.a-5.js index 03606209ee4d3de1e4177c7c8f53b05e03cc5e85..3031090a955a9ced9aed54e67787854d87f1f60f 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.4/11.4.1/11.4.1-4.a-5.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.4/11.4.1/11.4.1-4.a-5.js @@ -41,5 +41,6 @@ test: function testcase() { if (d === false && typeof(o) === 'object' && o.x === 1) { return true; } + return false; } }); diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.4/11.4.1/11.4.1-4.a-7.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.4/11.4.1/11.4.1-4.a-7.js index 881a9b684dc57416954a4c29ce31195174b162ae..3a82246c7294a8d8a09073bb0d3c2d3e63f994b3 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.4/11.4.1/11.4.1-4.a-7.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter11/11.4/11.4.1/11.4.1-4.a-7.js @@ -36,5 +36,6 @@ test: function testcase() { if (d === false && x === 1) { return true; } + return false; } }); diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.6/15.10.6.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.6/15.10.6.js index 8c30b422f2ab1efe4a142ee1e55d0ddb8e0e7f08..217b9008f2e1d3cecf2b80893d1d7c47edebe51e 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.6/15.10.6.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.6/15.10.6.js @@ -28,8 +28,6 @@ description: "RegExp.prototype is itself a RegExp", test: function testcase() { var s = Object.prototype.toString.call(RegExp.prototype); - if (s === '[object RegExp]') { - return true; - } + return s === '[object RegExp]'; } }); diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1.js index 1c06b2c374bece9ce0b08458a6fd8a7fc2fc2084..a22be95b43188379d5ac1473a5261dd84cb5efcf 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1.js @@ -27,7 +27,6 @@ path: "TestCases/chapter15/15.10/15.10.7/15.10.7.1/15.10.7.1-1.js", description: "RegExp.prototype.source is of type String", test: function testcase() { - if((typeof(RegExp.prototype.source)) === 'string') - return true; + return (typeof(RegExp.prototype.source)) === 'string'; } }); diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1.js index 9247d9b5dec27e64df94fcfc62272520e691efd1..d9b8f547ab35ddb351529b05644fdeb7e89b6c0d 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1.js @@ -27,7 +27,6 @@ path: "TestCases/chapter15/15.10/15.10.7/15.10.7.2/15.10.7.2-1.js", description: "RegExp.prototype.global is of type Boolean", test: function testcase() { - if((typeof(RegExp.prototype.global)) === 'boolean') - return true; + return (typeof(RegExp.prototype.global)) === 'boolean'; } }); diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1.js index c66582e3e2d819a08f84eba519855e99d220a793..68a55028d0fb879fcc4b057c36de8b81405ee0d9 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1.js @@ -27,7 +27,6 @@ path: "TestCases/chapter15/15.10/15.10.7/15.10.7.3/15.10.7.3-1.js", description: "RegExp.prototype.ignoreCase is of type Boolean", test: function testcase() { - if((typeof(RegExp.prototype.ignoreCase)) === 'boolean') - return true; + return (typeof(RegExp.prototype.ignoreCase)) === 'boolean'; } }); diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js index 612171f9631bdc895294f1dda069af7af0eb3a5d..50cd999c406a292f2a1c2703f68af8f17970caa4 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js @@ -27,7 +27,6 @@ path: "TestCases/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js", description: "RegExp.prototype.multiline is of type Boolean", test: function testcase() { - if((typeof(RegExp.prototype.multiline)) === 'boolean') - return true; + return (typeof(RegExp.prototype.multiline)) === 'boolean'; } }); diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1.js index c2a57e569a8ba0935b15b330bb06f37ec3320622..5a92449045eada4376f7f6487ab575e7e1faa6b2 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1.js @@ -27,7 +27,6 @@ path: "TestCases/chapter15/15.10/15.10.7/15.10.7.5/15.10.7.5-1.js", description: "RegExp.prototype.lastIndex is of type Number", test: function testcase() { - if((typeof(RegExp.prototype.lastIndex)) === 'number') - return true; + return (typeof(RegExp.prototype.lastIndex)) === 'number'; } }); diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-178.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-178.js index fb597333ddbf52568af5721fe08ea7a503a7f889..530e57f0c22a89e71556028302c4c7f4bb775bfa 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-178.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-178.js @@ -37,6 +37,7 @@ test: function testcase() { desc.hasOwnProperty('set') === false) { return true; } + return false; }, precondition: function prereq() { diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-179.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-179.js index 83ebdf2679e98d8f6afb97991a58cd5109c253a9..8856cb477817754c6ab9910c41759cc49ebcf3cc 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-179.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-179.js @@ -37,6 +37,7 @@ test: function testcase() { desc.hasOwnProperty('set') === false) { return true; } + return false; }, precondition: function prereq() { diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-180.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-180.js index 7862bb1688427d7788daa02e198569f0da0e8c90..7e0f1d834c7229ee42d986c9ba48e59c71a21b35 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-180.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-180.js @@ -37,6 +37,7 @@ test: function testcase() { desc.hasOwnProperty('set') === false) { return true; } + return false; }, precondition: function prereq() { diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-188.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-188.js index 45fca87093cdcf38da2e3315a79255e904825ea8..798f8f1cf711b9d54365eb60ba851e304313f9c9 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-188.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-188.js @@ -34,6 +34,7 @@ test: function testcase() { if (desc === undefined) { return true; } + return false; }, precondition: function prereq() { diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-1-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-1-1.js index 853567a608b0c90ca45d12a1881b7eb940f136da..64be3fef528c26f7c7ff5538acb4f7187d63f52c 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-1-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-1-1.js @@ -28,13 +28,16 @@ path: "TestCases/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-1-1.js", description: "Array.prototype.indexOf applied to undefined throws a TypeError", test: function testcase() { - try {Array.prototype.indexOf.call(undefined)} + try { + Array.prototype.indexOf.call(undefined); + return false; + } catch (e) { - if (e instanceof TypeError) return true; - } + return e instanceof TypeError; + } }, precondition: function prereq() { return fnExists(Array.prototype.indexOf); - } +} }); diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-1-2.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-1-2.js index 04882f5cc5bda1da66e5dc87dcce0624b456c76a..dee7677cc4d4615fddcaeb8de5abe1a8c9a7d29b 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-1-2.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-1-2.js @@ -28,9 +28,12 @@ path: "TestCases/chapter15/15.4/15.4.4/15.4.4.14/15.4.4.14-1-2.js", description: "Array.prototype.indexOf applied to null throws a TypeError", test: function testcase() { - try {Array.prototype.indexOf.call(null)} + try { + Array.prototype.indexOf.call(null); + return false; + } catch (e) { - if (e instanceof TypeError) return true; + return e instanceof TypeError; } }, diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1.js index e378f6c1d13f14e4412867c98966ba34bfc89bbd..e54e3ef446ec27bfb29752fcc4075e93ccbdc576 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1.js @@ -24,11 +24,11 @@ ES5Harness.registerTest({ path: "TestCases/chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-1.js", - description: "Array.prototype.some - thisArg not passed", + description: "Array.prototype.some - thisArg is passed", test: function testcase() { - this._15_4_4_17_5_1 = true; - var _15_4_4_17_5_1 = false; + this._15_4_4_17_5_1 = false; + var _15_4_4_17_5_1 = true; function callbackfn(val, idx, obj) { return this._15_4_4_17_5_1; diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.18/15.4.4.18-5-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.18/15.4.4.18-5-1.js index 1fcd0a09e62a674d5ed33702fb393071aaf692ac..e47dbf37653f864c1b5412de25f754517856230d 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.18/15.4.4.18-5-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.18/15.4.4.18-5-1.js @@ -24,11 +24,11 @@ ES5Harness.registerTest({ path: "TestCases/chapter15/15.4/15.4.4/15.4.4.18/15.4.4.18-5-1.js", - description: "Array.prototype.forEach - thisArg not passed", + description: "Array.prototype.forEach - thisArg is passed", test: function testcase() { - this._15_4_4_18_5_1 = true; - var _15_4_4_18_5_1 = false; + this._15_4_4_18_5_1 = false; + var _15_4_4_18_5_1 = true; var result; function callbackfn(val, idx, obj) { result = this._15_4_4_18_5_1; diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-1.js index 9ca420dd4528cb2d6660c86e01dc9abc0fe63c8e..6a4ebc1afa9f23b55ae2bd6afa0ebbcad35f0478 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-1.js @@ -24,11 +24,11 @@ ES5Harness.registerTest({ path: "TestCases/chapter15/15.4/15.4.4/15.4.4.20/15.4.4.20-5-1.js", - description: "Array.prototype.filter - thisArg not passed", + description: "Array.prototype.filter - thisArg is passed", test: function testcase() { - this._15_4_4_17_5_1 = true; - var _15_4_4_17_5_1 = false; + this._15_4_4_17_5_1 = false; + var _15_4_4_17_5_1 = true; function callbackfn(val, idx, obj) { return this._15_4_4_17_5_1; diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-1-1.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-1-1.js index bbbdaa8a5a4daa18573a6bdb1d6b00539deb868d..4270a4064c18173b2042c77b15b3eddbf05537fc 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-1-1.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-1-1.js @@ -29,12 +29,12 @@ description: "String.prototype.trim throws TypeError when string is undefined", test: function testcase() { try { - String.prototype.trim.call(undefined); + String.prototype.trim.call(undefined); + return false; } catch(e) { - if(e instanceof TypeError) - return true; + return e instanceof TypeError; } }, diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-1-2.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-1-2.js index 0ba5b1165f6c5507ba640cf2932849af002b83bf..b8036fbf21f681767466f04ebae3519affd41255 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-1-2.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-1-2.js @@ -30,11 +30,11 @@ test: function testcase() { try { String.prototype.trim.call(null); + return false; } catch(e) { - if(e instanceof TypeError) - return true; + return e instanceof TypeError; } }, diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-10.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-10.js index 46bf801ae58194ce4fa7eb1e1e2b4ec1dfd2f902..4e59ded17499867e6410e63969fc5ccc33e87bc9 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-10.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-10.js @@ -27,9 +27,7 @@ path: "TestCases/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-10.js", description: "String.prototype.trim handles whitepace and lineterminators (\\uFEFFabc)", test: function testcase() { - if ("\uFEFFabc".trim() === "abc") { - return true; - } + return "\uFEFFabc".trim() === "abc"; }, precondition: function prereq() { diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-18.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-18.js index f530c2a4074ebd88a526ad8e435464633b2cf893..4c6c8fc4b2a44ed8dac8ffc2c55dc46faa61e568 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-18.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-18.js @@ -27,9 +27,7 @@ path: "TestCases/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-18.js", description: "String.prototype.trim handles whitepace and lineterminators (abc\\uFEFF)", test: function testcase() { - if ("abc\uFEFF".trim() === "abc") { - return true; - } + return "abc\uFEFF".trim() === "abc"; }, precondition: function prereq() { diff --git a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-34.js b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-34.js index b24e4b21e94c9c8811e0894f3045c10252df5a09..8652d23570982532bdf4607419131434ac1ff562 100644 --- a/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-34.js +++ b/external/contributions/Microsoft/ietestcenter_ie9_rc1/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-34.js @@ -27,9 +27,7 @@ path: "TestCases/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-34.js", description: "String.prototype.trim handles whitepace and lineterminators (\\uFEFF\\uFEFF)", test: function testcase() { - if ("\uFEFF\uFEFF".trim() === "") { - return true; - } + return "\uFEFF\uFEFF".trim() === ""; }, precondition: function prereq() { diff --git a/website/ecmascripthome.html b/website/ecmascripthome.html deleted file mode 100644 index 023dffdbbd0ab248c3887dc25f399e147a388917..0000000000000000000000000000000000000000 --- a/website/ecmascripthome.html +++ /dev/null @@ -1,46 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" /> -<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> -<title>ECMAScript.Org</title> -<link href="resources/styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" /> -</head> -<body> - <div class="wrapper"> - <div class="logoHeader"> - <div class="ecmascriptlogoBg"><img src="resources/images/ecmascriptlogo.png" /></div> - <div><img src="resources/images/tc39.png" /></div> - </div> - <div class="navBar"> - <ul> - <li><a href="#" class="selected nav-link" id="home">Home</a></li> - <li><a href="projects.html" class="nav-link" id="projects">Projects</a></li> - <li><a href="http://test262.ecmascript.org" class="nav-link test-report-link" id="testing">Testing</a></li> - <li><a href="specifications.html" class="nav-link" id="specifications">Specifications</a></li> - <li><a href="tc39.html" class="nav-link" id="tc39">TC39</a></li> - </ul> - </div> - <div id="contentContainer"> - <!-- This is the Main Content Container --> - <div> - <p class="headers">Welcome to the home of ECMAScript</p> - <p class=content>This site is home of the <a href="http://www.ecma-international.org/">Ecma International</a> <a href="http://www.ecma-international.org/memento/TC39.htm">TC39 committee</a> which is responsible for developing international standards relating to the ECMAScript programming language. -</p> - <p class=content>ECMAScript, which is more commonly known by the name JavaScript™, is an essential component of every web browser and the ECMAScript standard is one of the core standards that enable the existence of interoperable web applications on the World Wide Web. - -</p> - <p class=content>At the December 2009 General Assembly, the Fifth Edition Candidate Specification was officially adopted as <a href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf">Standard ECMA-262 5th Edition</a>. The Fifth Edition codifies de facto interpretations of the language specification that have become common among browser implementations and adds support for new features that have emerged since the publication of the Third Edition. Such features include accessor properties, reflective creation and inspection of objects, program control of property attributes, additional array manipulation functions, support for the JSON object encoding format, and a strict mode that provides enhanced error checking and program security. - <p class="content">This site hosts working documents and other resources related to ongoing TC39 projects. Anyone interesting in contributing to the ongoing development ECMAScript standards are encouraged to join Ecma International and participate in TC39.</p> -</p> - </div> - - </div> - <div class="footer"> - <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>--> - <div class="links">Ver. 0.1.1 16-Nov-2010</div> - <div class="copyright"> Domain donated by <a href="http://www.opendomain.org/">OpenDomain</a> | <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ecmascript.org%2F;accept=text%2Fhtml%2C%20application%2Fxhtml%2Bxml%2C%20*%2F*;accept-language=en-US">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.ecmascript.org%2F">CSS</a> - </div> - </div> - </div> -</body> -</html> \ No newline at end of file diff --git a/website/projects.html b/website/projects.html deleted file mode 100644 index 661fb202ec99ad0ec6cb1ddd210d2d08595abc20..0000000000000000000000000000000000000000 --- a/website/projects.html +++ /dev/null @@ -1,68 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" /> -<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> - -<title>ECMAScript.Org</title> -<link href="resources/styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" /> -</head> -<body> - <div class="wrapper"> - <div class="logoHeader"> - <div class="ecmascriptlogoBg"><img src="resources/images/ecmascriptlogo.png" /></div> - <div><img src="resources/images/tc39.png" /></div> - </div> - <div class="navBar"> - <ul> - <li><a href="ecmascripthome.html" class="nav-link" id="home">Home</a></li> - <li><a href="projects.html" class="selected nav-link" id="projects">Projects</a></li> - <li><a href="http://test262.ecmascript.org" class="nav-link test-report-link" id="testing">Testing</a></li> - <li><a href="specifications.html" class="nav-link" id="specifications">Specifications</a></li> - <li><a href="tc39.html" class="nav-link" id="tc39">TC39</a></li> - </ul> - </div> - <div id="contentContainer"> - <!-- This is the Main Content Container --> - <div> - <div class="projectSection"> - <p class="headers">ES5: ECMAScript 5th Edition</p> - <a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">Project's site</a> - - - </div> - <div class="projectSection"> - <p class="headers">Harmony</p> - <a href="http://wiki.ecmascript.org/">Project's site</a> - - - </div> - <div class="projectSection"> - <p class="headers">Test262</p> - <a href="http://test262.ecmascript.org/">Project's site</a> - - - </div> - <div class="projectSection"> - <p class="headers">Internationalization</p> - <a href="">Project's site</a> - - - </div> - <div class="projectSection"> - <p class="headers">Other Standards</p> - <a href="">Project's site</a> - - - </div> - </div> - - </div> - <div class="footer"> - <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>--> - <div class="links">Ver. 0.1.1 16-Nov-2010</div> - <div class="copyright"> Domain donated by <a href="http://www.opendomain.org/">OpenDomain</a> | <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ecmascript.org%2F;accept=text%2Fhtml%2C%20application%2Fxhtml%2Bxml%2C%20*%2F*;accept-language=en-US">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.ecmascript.org%2F">CSS</a> - </div> - </div> - </div> -</body> -</html> \ No newline at end of file diff --git a/website/resources/scripts/testcases/testcaseslist.xml b/website/resources/scripts/testcases/testcaseslist.xml index 1e93331a93b32baec2c934d52c0dadb3a4d90040..85ee42f056af27062d97e455c035b59b8e45c0ca 100644 --- a/website/resources/scripts/testcases/testcaseslist.xml +++ b/website/resources/scripts/testcases/testcaseslist.xml @@ -1,4 +1,4 @@ -<testSuite numTests="8558" version="0.3" date="02/08/2011"> +<testSuite numTests="8558" version="0.3" date="02/10/2011"> <testGroup>resources/scripts/testcases/07_Lexical_Conventions.xml</testGroup> <testGroup>resources/scripts/testcases/08_Types.xml</testGroup> <testGroup>resources/scripts/testcases/09_Type_Conversion.xml</testGroup> diff --git a/website/specifications.html b/website/specifications.html deleted file mode 100644 index 806f14e1ffb5a5d8f620dd5fa1b3f61ca6be3ab1..0000000000000000000000000000000000000000 --- a/website/specifications.html +++ /dev/null @@ -1,56 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" /> -<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> - -<title>ECMAScript.Org</title> -<link href="resources/styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" /> -</head> -<body> - <div class="wrapper"> - <div class="logoHeader"> - <div class="ecmascriptlogoBg"><img src="resources/images/ecmascriptlogo.png" /></div> - <div><img src="resources/images/tc39.png" /></div> - </div> - <div class="navBar"> - <ul> - <li><a href="ecmascripthome.html" class="nav-link" id="home">Home</a></li> - <li><a href="projects.html" class="nav-link" id="projects">Projects</a></li> - <li><a href="http://test262.ecmascript.org" class="nav-link test-report-link" id="testing">Testing</a></li> - <li><a href="specifications.html" class="selected nav-link" id="specifications">Specifications</a></li> - <li><a href="tc39.html" class="nav-link" id="tc39">TC39</a></li> - </ul> - </div> - <div id="contentContainer"> - <!-- This is the Main Content Container --> - <div> -<p class="content">The ECMA-262 standard is the official documentation for the ECMAScript language.</p> -<p class="headers">Edition 5</p> -<p class="content">The Fifth Edition of ECMA-262 has been approved and is available for public download.</p> -<ul><li class="content">Download <a href="http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf">ECMA-262, Edition 5</a></li> - <li class="content"><a href="http://wiki.ecmascript.org/lib/exe/fetch.php?id=start&cache=cache&media=resources:es5_errata_7-31-10.pdf">ES5 errata</a></li></ul> - <p class="headers">Previous Editions of the ECMAScript standard</p> -<ul> -<li class="content"><a href="http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf">ECMA-262 Edition 3</a> (pdf)</li> - <li class="content"><a href="http://www.mozilla.org/js/language/E262-3-errata.html">Errata</a> in the Edition 3 specification</li> -<li class="content"><a href="http://www.mozilla.org/js/language/E262.pdf">ECMA-262 Edition 1</a></li> -<li class="content"><a href="http://www.mozilla.org/js/language/E262-2.pdf">ECMA-262 Edition 2</a></li> -</ul> -<p class="headers">Other TC39 Standards</p> -<ul> -<li class="content"><a href="http://www.ecma-international.org/publications/standards/Ecma-357.htm">ECMA 357</a></li> -</ul> - - - </div> - - </div> - <div class="footer"> - <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>--> - <div class="links">Ver. 0.1.1 16-Nov-2010</div> - <div class="copyright"> Domain donated by <a href="http://www.opendomain.org/">OpenDomain</a> | <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ecmascript.org%2F;accept=text%2Fhtml%2C%20application%2Fxhtml%2Bxml%2C%20*%2F*;accept-language=en-US">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.ecmascript.org%2F">CSS</a> - </div> - </div> - </div> -</body> -</html> \ No newline at end of file diff --git a/website/tc39.html b/website/tc39.html deleted file mode 100644 index 86353a99b514e890b78549578516752fd2061ae3..0000000000000000000000000000000000000000 --- a/website/tc39.html +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" /> -<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> - -<title>ECMAScript.Org</title> -<link href="resources/styles/style.css" media="screen" rel="stylesheet" title="CSS" type="text/css" /> -</head> -<body> - <div class="wrapper"> - <div class="logoHeader"> - <div class="ecmascriptlogoBg"><img src="resources/images/ecmascriptlogo.png" /></div> - <div><img src="resources/images/tc39.png" /></div> - </div> - <div class="navBar"> - <ul> - <li><a href="ecmascripthome.html" class="nav-link" id="home">Home</a></li> - <li><a href="projects.html" class="nav-link" id="projects">Projects</a></li> - <li><a href="http://test262.ecmascript.org" class="nav-link test-report-link" id="testing">Testing</a></li> - <li><a href="specifications.html" class="nav-link" id="specifications">Specifications</a></li> - <li><a href="tc39.html" class="selected nav-link" id="tc39">TC39</a></li> - </ul> - </div> - <div id="contentContainer"> - <!-- This is the Main Content Container --> - <div> - </div> - - </div> - <div class="footer"> - <!--<div class="Links"> <a href="">Privacy</a> | <a href="">Terms of Use</a> </div>--> - <div class="links">Ver. 0.1.1 16-Nov-2010</div> - <div class="copyright"> Domain donated by <a href="http://www.opendomain.org/">OpenDomain</a> | <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.ecmascript.org%2F;accept=text%2Fhtml%2C%20application%2Fxhtml%2Bxml%2C%20*%2F*;accept-language=en-US">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.ecmascript.org%2F">CSS</a> - </div> - </div> - </div> -</body> -</html> \ No newline at end of file