diff --git a/test/built-ins/Array/prototype/join/S15.4.4.5_A2_T4.js b/test/built-ins/Array/prototype/join/S15.4.4.5_A2_T4.js index b84d697950..d7917d84ed 100644 --- a/test/built-ins/Array/prototype/join/S15.4.4.5_A2_T4.js +++ b/test/built-ins/Array/prototype/join/S15.4.4.5_A2_T4.js @@ -90,5 +90,4 @@ assert.throws(TypeError, () => { } }; obj.join(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/join/S15.4.4.5_A6.7.js b/test/built-ins/Array/prototype/join/S15.4.4.5_A6.7.js index 8ff58d4dfb..767e175018 100644 --- a/test/built-ins/Array/prototype/join/S15.4.4.5_A6.7.js +++ b/test/built-ins/Array/prototype/join/S15.4.4.5_A6.7.js @@ -11,5 +11,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.join(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/pop/S15.4.4.6_A5.7.js b/test/built-ins/Array/prototype/pop/S15.4.4.6_A5.7.js index e1cb815a31..83baf39ffe 100644 --- a/test/built-ins/Array/prototype/pop/S15.4.4.6_A5.7.js +++ b/test/built-ins/Array/prototype/pop/S15.4.4.6_A5.7.js @@ -11,5 +11,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.pop(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/push/S15.4.4.7_A6.7.js b/test/built-ins/Array/prototype/push/S15.4.4.7_A6.7.js index 3eacb84df3..12edbf0216 100644 --- a/test/built-ins/Array/prototype/push/S15.4.4.7_A6.7.js +++ b/test/built-ins/Array/prototype/push/S15.4.4.7_A6.7.js @@ -11,5 +11,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.push(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/reverse/S15.4.4.8_A5.7.js b/test/built-ins/Array/prototype/reverse/S15.4.4.8_A5.7.js index e17bc4d5c8..d0c8a43521 100644 --- a/test/built-ins/Array/prototype/reverse/S15.4.4.8_A5.7.js +++ b/test/built-ins/Array/prototype/reverse/S15.4.4.8_A5.7.js @@ -11,5 +11,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.reverse(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/shift/S15.4.4.9_A5.7.js b/test/built-ins/Array/prototype/shift/S15.4.4.9_A5.7.js index ca94cddd2d..98dd6ebc87 100644 --- a/test/built-ins/Array/prototype/shift/S15.4.4.9_A5.7.js +++ b/test/built-ins/Array/prototype/shift/S15.4.4.9_A5.7.js @@ -11,5 +11,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.shift(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/slice/S15.4.4.10_A3_T1.js b/test/built-ins/Array/prototype/slice/S15.4.4.10_A3_T1.js index 41df4336fd..fcb9b5f157 100644 --- a/test/built-ins/Array/prototype/slice/S15.4.4.10_A3_T1.js +++ b/test/built-ins/Array/prototype/slice/S15.4.4.10_A3_T1.js @@ -14,6 +14,4 @@ assert.throws(RangeError, () => { obj[4294967295] = "y"; obj.length = 4294967296; obj.slice(0, 4294967296); - new Array.prototype.toLocaleString(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/slice/S15.4.4.10_A3_T2.js b/test/built-ins/Array/prototype/slice/S15.4.4.10_A3_T2.js index ac5d83ba18..efced8c544 100644 --- a/test/built-ins/Array/prototype/slice/S15.4.4.10_A3_T2.js +++ b/test/built-ins/Array/prototype/slice/S15.4.4.10_A3_T2.js @@ -14,5 +14,4 @@ assert.throws(RangeError, () => { obj[4294967296] = "y"; obj.length = 4294967297; obj.slice(0, 4294967297); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/slice/S15.4.4.10_A5.7.js b/test/built-ins/Array/prototype/slice/S15.4.4.10_A5.7.js index 2e65c0c075..0a14eba0b8 100644 --- a/test/built-ins/Array/prototype/slice/S15.4.4.10_A5.7.js +++ b/test/built-ins/Array/prototype/slice/S15.4.4.10_A5.7.js @@ -11,5 +11,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.slice(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/sort/S15.4.4.11_A7.7.js b/test/built-ins/Array/prototype/sort/S15.4.4.11_A7.7.js index 91b1d21453..e13237a187 100644 --- a/test/built-ins/Array/prototype/sort/S15.4.4.11_A7.7.js +++ b/test/built-ins/Array/prototype/sort/S15.4.4.11_A7.7.js @@ -11,5 +11,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.sort(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/splice/S15.4.4.12_A5.7.js b/test/built-ins/Array/prototype/splice/S15.4.4.12_A5.7.js index f4ab5911b5..32036bef4a 100644 --- a/test/built-ins/Array/prototype/splice/S15.4.4.12_A5.7.js +++ b/test/built-ins/Array/prototype/splice/S15.4.4.12_A5.7.js @@ -11,5 +11,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.splice(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/toLocaleString/S15.4.4.3_A4.7.js b/test/built-ins/Array/prototype/toLocaleString/S15.4.4.3_A4.7.js index 1354e95aa9..b3bfe1018b 100644 --- a/test/built-ins/Array/prototype/toLocaleString/S15.4.4.3_A4.7.js +++ b/test/built-ins/Array/prototype/toLocaleString/S15.4.4.3_A4.7.js @@ -12,5 +12,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.toLocaleString(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/toString/S15.4.4.2_A1_T4.js b/test/built-ins/Array/prototype/toString/S15.4.4.2_A1_T4.js index 661499cec4..09b91cc212 100644 --- a/test/built-ins/Array/prototype/toString/S15.4.4.2_A1_T4.js +++ b/test/built-ins/Array/prototype/toString/S15.4.4.2_A1_T4.js @@ -95,5 +95,4 @@ assert.throws(TypeError, () => { }; var x = new Array(object); x.toString(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/toString/S15.4.4.2_A4.7.js b/test/built-ins/Array/prototype/toString/S15.4.4.2_A4.7.js index 4cb290b049..0ab0b23d7c 100644 --- a/test/built-ins/Array/prototype/toString/S15.4.4.2_A4.7.js +++ b/test/built-ins/Array/prototype/toString/S15.4.4.2_A4.7.js @@ -12,5 +12,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.toString(); - throw new Test262Error(); }); diff --git a/test/built-ins/Array/prototype/unshift/S15.4.4.13_A5.7.js b/test/built-ins/Array/prototype/unshift/S15.4.4.13_A5.7.js index b133386118..ac87872375 100644 --- a/test/built-ins/Array/prototype/unshift/S15.4.4.13_A5.7.js +++ b/test/built-ins/Array/prototype/unshift/S15.4.4.13_A5.7.js @@ -11,5 +11,4 @@ description: > assert.throws(TypeError, () => { new Array.prototype.unshift(); - throw new Test262Error(); }); diff --git a/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T1.js b/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T1.js index ed04c02d31..17e418dfd9 100644 --- a/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T1.js +++ b/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T1.js @@ -15,12 +15,10 @@ assert.throws(TypeError, () => { var s1 = new String(); s1.toString = Boolean.prototype.toString; var v1 = s1.toString(); - throw new Test262Error(); }); assert.throws(TypeError, () => { var s2 = new String(); s2.myToString = Boolean.prototype.toString; var v2 = s2.myToString(); - throw new Test262Error(); }); diff --git a/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T2.js b/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T2.js index 730be0568b..cc0349834c 100644 --- a/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T2.js +++ b/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T2.js @@ -15,12 +15,10 @@ assert.throws(TypeError, () => { var s1 = new Number(); s1.toString = Boolean.prototype.toString; s1.toString(); - throw new Test262Error(); }); assert.throws(TypeError, () => { var s2 = new Number(); s2.myToString = Boolean.prototype.toString; s2.myToString(); - throw new Test262Error(); }); diff --git a/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T3.js b/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T3.js index 46a5642c22..95a7a35418 100644 --- a/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T3.js +++ b/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T3.js @@ -15,12 +15,10 @@ assert.throws(TypeError, () => { var s1 = new Date(); s1.toString = Boolean.prototype.toString; s1.toString(); - throw new Test262Error(); }); assert.throws(TypeError, () => { var s2 = new Date(); s2.myToString = Boolean.prototype.toString; s2.myToString(); - throw new Test262Error(); }); diff --git a/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T4.js b/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T4.js index 344248541a..dc4aca62bf 100644 --- a/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T4.js +++ b/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T4.js @@ -16,12 +16,10 @@ assert.throws(TypeError, () => { var s1 = new Object(); s1.toString = Boolean.prototype.toString; s1.toString(); - throw new Test262Error(); }); assert.throws(TypeError, () => { var s2 = new Object(); s2.myToString = Boolean.prototype.toString; s2.myToString(); - throw new Test262Error(); }); diff --git a/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T5.js b/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T5.js index 3b5cf9ad7a..b66f50c4fd 100644 --- a/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T5.js +++ b/test/built-ins/Boolean/prototype/toString/S15.6.4.2_A2_T5.js @@ -17,7 +17,6 @@ assert.throws(TypeError, () => { }; s1.toString = Boolean.prototype.toString; s1.toString(); - throw new Test262Error(); }); assert.throws(TypeError, () => { @@ -26,5 +25,4 @@ assert.throws(TypeError, () => { }; s2.myToString = Boolean.prototype.toString; s2.myToString(); - throw new Test262Error(); }); diff --git a/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T1.js b/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T1.js index e0ec51781c..9cb022a362 100644 --- a/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T1.js +++ b/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T1.js @@ -14,12 +14,10 @@ assert.throws(TypeError, () => { var s1 = new String(); s1.valueOf = Boolean.prototype.valueOf; s1.valueOf(); - throw new Test262Error(); }); assert.throws(TypeError, () => { var s2 = new String(); s2.myvalueOf = Boolean.prototype.valueOf; s2.myvalueOf(); - throw new Test262Error(); }); diff --git a/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T2.js b/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T2.js index f7d2e4aa84..e53e7e0f2a 100644 --- a/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T2.js +++ b/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T2.js @@ -14,12 +14,10 @@ assert.throws(TypeError, () => { var s1 = new Number(); s1.valueOf = Boolean.prototype.valueOf; s1.valueOf(); - throw new Test262Error(); }); assert.throws(TypeError, () => { var s2 = new Number(); s2.myvalueOf = Boolean.prototype.valueOf; s2.myvalueOf(); - throw new Test262Error(); }); diff --git a/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T3.js b/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T3.js index 5f1c8a1b77..2dbae27755 100644 --- a/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T3.js +++ b/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T3.js @@ -14,12 +14,10 @@ assert.throws(TypeError, () => { var s1 = new Date(); s1.valueOf = Boolean.prototype.valueOf; s1.valueOf(); - throw new Test262Error(); }); assert.throws(TypeError, () => { var s2 = new Date(); s2.myvalueOf = Boolean.prototype.valueOf; s2.myvalueOf(); - throw new Test262Error(); }); diff --git a/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T4.js b/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T4.js index 528c4b47bd..6fe2780b7a 100644 --- a/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T4.js +++ b/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T4.js @@ -14,12 +14,10 @@ assert.throws(TypeError, () => { var s1 = new Object(); s1.valueOf = Boolean.prototype.valueOf; s1.valueOf(); - throw new Test262Error(); }); assert.throws(TypeError, () => { var s2 = new Object(); s2.myvalueOf = Boolean.prototype.valueOf; s2.myvalueOf(); - throw new Test262Error(); }); diff --git a/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T5.js b/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T5.js index beb240e318..34a87831a1 100644 --- a/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T5.js +++ b/test/built-ins/Boolean/prototype/valueOf/S15.6.4.3_A2_T5.js @@ -16,7 +16,6 @@ assert.throws(TypeError, () => { }; s1.valueOf = Boolean.prototype.valueOf; s1.valueOf(); - throw new Test262Error(); }); assert.throws(TypeError, () => { @@ -25,5 +24,4 @@ assert.throws(TypeError, () => { }; s2.myvalueOf = Boolean.prototype.valueOf; s2.myvalueOf(); - throw new Test262Error(); });