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 2ea2b08cc8ad4b08796f62e022fad69aaba0f92e..2a09635ebe48d00bdbf580359cea30988b77f503 100644 |
--- a/test/webkit/fast/js/parser-syntax-check-expected.txt |
+++ b/test/webkit/fast/js/parser-syntax-check-expected.txt |
@@ -143,8 +143,8 @@ PASS Invalid: "a(5" |
PASS Invalid: "function f() { a(5 }" |
PASS Invalid: "a(5," |
PASS Invalid: "function f() { a(5, }" |
-PASS Invalid: "a(5,)" |
-PASS Invalid: "function f() { a(5,) }" |
+FAIL Invalid: "a(5,)" should throw undefined |
+FAIL Invalid: "function f() { a(5,) }" should throw undefined |
PASS Invalid: "a(5,6" |
PASS Invalid: "function f() { a(5,6 }" |
PASS Valid: "a(b[7], c <d> e.l, new a() > b)" |
@@ -178,8 +178,8 @@ PASS Invalid: "function () {}" |
PASS Invalid: "function f() { function () {} }" |
PASS Invalid: "function f(a b) {}" |
PASS Invalid: "function f() { function f(a b) {} }" |
-PASS Invalid: "function f(a,) {}" |
-PASS Invalid: "function f() { function f(a,) {} }" |
+FAIL Invalid: "function f(a,) {}" should throw undefined |
+FAIL Invalid: "function f() { function f(a,) {} }" should throw undefined |
PASS Invalid: "function f(a," |
PASS Invalid: "function f() { function f(a, }" |
PASS Invalid: "function f(a, 1) {}" |