Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Unified Diff: test/webkit/fast/js/parser-syntax-check-expected.txt

Issue 1928513004: Ship for-in initializer deprecation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Adjust tests Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/for-in.js ('k') | test/webkit/function-declaration-statement.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 132fb4bca0ad802b44aae4432cdb14102a5f0fed..fbaf413941c05ab8fa465d6ee0179001d927361e 100644
--- a/test/webkit/fast/js/parser-syntax-check-expected.txt
+++ b/test/webkit/fast/js/parser-syntax-check-expected.txt
@@ -466,8 +466,8 @@ PASS Invalid: "for (var a = -6, b in b) break"
PASS Invalid: "function f() { for (var a = -6, b in b) break }"
PASS Invalid: "for (var a, b = 8 in b) break"
PASS Invalid: "function f() { for (var a, b = 8 in b) break }"
-PASS Valid: "for (var a = (b in c) in d) break"
-PASS Valid: "function f() { for (var a = (b in c) in d) break }"
+FAIL Valid: "for (var a = (b in c) in d) break" should NOT throw
+FAIL Valid: "function f() { for (var a = (b in c) in d) break }" should NOT throw
PASS Invalid: "for (var a = (b in c in d) break"
PASS Invalid: "function f() { for (var a = (b in c in d) break }"
PASS Invalid: "for (var (a) in b) { }"
« no previous file with comments | « test/mjsunit/for-in.js ('k') | test/webkit/function-declaration-statement.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698