Index: test/webkit/fast/js/parser-syntax-check.js |
diff --git a/test/webkit/fast/js/parser-syntax-check.js b/test/webkit/fast/js/parser-syntax-check.js |
index a1b0e924d796c603c858073839f02e683cc9329d..a3fef13474c7ac94b8d6ef53f2da1f2c3387d6c3 100644 |
--- a/test/webkit/fast/js/parser-syntax-check.js |
+++ b/test/webkit/fast/js/parser-syntax-check.js |
@@ -291,21 +291,21 @@ invalid("for ( %a ; ; ) { }"); |
valid ("for (a in b) break"); |
valid ("for (a() in b) break"); |
valid ("for (a().l[4] in b) break"); |
-valid ("for (new a in b in c in d) break"); |
-valid ("for (new new new a in b) break"); |
+invalid("for (new a in b in c in d) break"); |
+invalid("for (new new new a in b) break"); |
invalid("for (delete new a() in b) break"); |
invalid("for (a * a in b) break"); |
-valid ("for ((a * a) in b) break"); |
+invalid("for ((a * a) in b) break"); |
invalid("for (a++ in b) break"); |
-valid ("for ((a++) in b) break"); |
+invalid("for ((a++) in b) break"); |
invalid("for (++a in b) break"); |
-valid ("for ((++a) in b) break"); |
+invalid("for ((++a) in b) break"); |
invalid("for (a, b in c) break"); |
invalid("for (a,b in c ;;) break"); |
valid ("for (a,(b in c) ;;) break"); |
-valid ("for ((a, b) in c) break"); |
+invalid("for ((a, b) in c) break"); |
invalid("for (a ? b : c in c) break"); |
-valid ("for ((a ? b : c) in c) break"); |
+invalid("for ((a ? b : c) in c) break"); |
valid ("for (var a in b in c) break"); |
valid ("for (var a = 5 += 6 in b) break"); |
invalid("for (var a += 5 in b) break"); |