Mark Miller 2011-09-25 11:59:31 -07:00
parent b9bd140cef
commit 0317028e15
3 changed files with 0 additions and 46 deletions

View File

@ -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>

View File

@ -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));
}
}

View File

@ -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));
}
}