Skip to content
Snippets Groups Projects
Commit 0317028e authored by Mark Miller's avatar Mark Miller
Browse files
parent b9bd140c
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
......@@ -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));
}
}
......@@ -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));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment