Index: test/webkit/fast/js/parser-syntax-check-expected.txt |
diff --git a/test/webkit/fast/js/parser-syntax-check-expected.txt b/test/webkit/fast/js/parser-syntax-check-expected.txt |
index a441daa3bfefcc73316cb9813457ed0cb78e4476..2ea2b08cc8ad4b08796f62e022fad69aaba0f92e 100644 |
--- a/test/webkit/fast/js/parser-syntax-check-expected.txt |
+++ b/test/webkit/fast/js/parser-syntax-check-expected.txt |
@@ -288,8 +288,6 @@ PASS Valid: "do while (0) if (a) {} else y; while(0)" |
PASS Valid: "function f() { do while (0) if (a) {} else y; while(0) }" |
PASS Valid: "if (a) while (b) if (c) with(d) {} else e; else f" |
PASS Valid: "function f() { if (a) while (b) if (c) with(d) {} else e; else f }" |
-PASS Invalid: "break ; break your_limits ; continue ; continue living ; debugger" |
-PASS Invalid: "function f() { break ; break your_limits ; continue ; continue living ; debugger }" |
PASS Invalid: "debugger X" |
PASS Invalid: "function f() { debugger X }" |
PASS Invalid: "break 0.2" |
@@ -475,8 +473,6 @@ PASS Invalid: "function f() { for (var (a) in b) { } }" |
PASS Valid: "for (var a = 7, b = c < d >= d ; f()[6]++ ; --i()[1]++ ) {}" |
PASS Valid: "function f() { for (var a = 7, b = c < d >= d ; f()[6]++ ; --i()[1]++ ) {} }" |
try statement |
-PASS Invalid: "try { break } catch(e) {}" |
-PASS Invalid: "function f() { try { break } catch(e) {} }" |
PASS Valid: "try {} finally { c++ }" |
PASS Valid: "function f() { try {} finally { c++ } }" |
PASS Valid: "try { with (x) { } } catch(e) {} finally { if (a) ; }" |
@@ -554,12 +550,6 @@ PASS Invalid: "switch (4 - ) { }" |
PASS Invalid: "function f() { switch (4 - ) { } }" |
PASS Invalid: "switch (l) { default case: 5; }" |
PASS Invalid: "function f() { switch (l) { default case: 5; } }" |
-PASS Invalid: "L: L: ;" |
-PASS Invalid: "function f() { L: L: ; }" |
-PASS Invalid: "L: L1: L: ;" |
-PASS Invalid: "function f() { L: L1: L: ; }" |
-PASS Invalid: "L: L1: L2: L3: L4: L: ;" |
-PASS Invalid: "function f() { L: L1: L2: L3: L4: L: ; }" |
PASS Invalid: "for(var a,b 'this shouldn't be allowed' false ; ) ;" |
PASS Invalid: "function f() { for(var a,b 'this shouldn't be allowed' false ; ) ; }" |
PASS Invalid: "for(var a,b '" |