diff --git a/test/config/excludelist.xml b/test/config/excludelist.xml index 842be06402d41aa93aae5c62eb48d25fb51c961f..48839f7e84bd046e76720116073246a7a1c314f8 100644 --- a/test/config/excludelist.xml +++ b/test/config/excludelist.xml @@ -87,8 +87,6 @@ <test id="S15.9.3.1_A5_T6">https://bugs.ecmascript.org/show_bug.cgi?id=11</test> --> - <test id="S9.9_A1">https://bugs.ecmascript.org/show_bug.cgi?id=13</test> - <test id="S9.9_A2">https://bugs.ecmascript.org/show_bug.cgi?id=13</test> <test id="S11.1.5_A4.1">https://bugs.ecmascript.org/show_bug.cgi?id=14</test> <test id="S11.1.5_A4.2">https://bugs.ecmascript.org/show_bug.cgi?id=14</test> diff --git a/test/suite/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.js b/test/suite/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.js index b1d8c857fe6343e29c832edfc6a46c56ec6f3bf7..cd5d6d09f0617e8c57ed357b32dc88cc1c93b0cb 100644 --- a/test/suite/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.js +++ b/test/suite/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A1.js @@ -30,25 +30,3 @@ catch(e){ $ERROR('#2.2: with(undefined) x = 2 must throw TypeError. Actual: ' + (e)); } } - -// CHECK#3 -try{ - for(var y in undefined) y = 2; - $ERROR('#3.1: for(var y in undefined) y = 2 must throw TypeError. Actual: y === ' + (y)); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#3.2: for(var y in undefined) y = 2 must throw TypeError. Actual: ' + (e)); - } -} - -// CHECK#4 -try{ - for(var z in this.foo) z = 2; - $ERROR('#4.1: for(var z in this.foo) z = 2 must throw TypeError. Actual: z === ' + (z)); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#4.2: for(var z in this.foo) z = 2 must throw TypeError. Actual: ' + (e)); - } -} diff --git a/test/suite/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.js b/test/suite/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.js index 6cb73c5768abcf77c33785bd6467134b7475001a..c0457791bf8449910f09fc008b465760f47eea1c 100644 --- a/test/suite/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.js +++ b/test/suite/sputnik/Conformance/09_Type_Conversion/9.9_ToObject/S9.9_A2.js @@ -30,25 +30,3 @@ catch(e){ $ERROR('#2.2: with(null) x = 2 must throw TypeError. Actual: ' + (e)); } } - -// CHECK#3 -try{ - for(var y in null) y = 2; - $ERROR('#3.1: for(var y in null) y = 2 must throw TypeError. Actual: y === . Actual: ' + (y)); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#3.2: for(var y in null) y = 2 must throw TypeError. Actual: ' + (e)); - } -} - -// CHECK#4 -try{ - for(var z in 'bbb'.match(/aaa/)) z = 2; - $ERROR('#4.1: for(var z in \'bbb\'.match(/aaa/)) z = 2 must throw TypeError. Actual: z === . Actual: ' + (z)); -} -catch(e){ - if((e instanceof TypeError) !== true){ - $ERROR('#4.2: for(var z in \'bbb\'.match(/aaa/)) z = 2 must throw TypeError. Actual: ' + (e)); - } -}