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

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

Issue 2478883002: Remove always-true --harmony-restrictive-declarations flag (Closed)
Patch Set: Formatting Created 4 years, 1 month 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/webkit/fast/js/parser-syntax-check.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..a441daa3bfefcc73316cb9813457ed0cb78e4476 100644
--- a/test/webkit/fast/js/parser-syntax-check-expected.txt
+++ b/test/webkit/fast/js/parser-syntax-check-expected.txt
@@ -308,8 +308,8 @@ PASS Invalid: "while if (a) ;"
PASS Invalid: "function f() { while if (a) ; }"
PASS Valid: "if (a) function f() {} else function g() {}"
PASS Valid: "function f() { if (a) function f() {} else function g() {} }"
-PASS Valid: "if (a()) while(0) function f() {} else function g() {}"
-PASS Valid: "function f() { if (a()) while(0) function f() {} else function g() {} }"
+PASS Invalid: "if (a()) while(0) function f() {} else function g() {}"
+PASS Invalid: "function f() { if (a()) while(0) function f() {} else function g() {} }"
PASS Invalid: "if (a()) function f() { else function g() }"
PASS Invalid: "function f() { if (a()) function f() { else function g() } }"
PASS Invalid: "if (a) if (b) ; else function f {}"
« no previous file with comments | « test/webkit/fast/js/parser-syntax-check.js ('k') | test/webkit/function-declaration-statement.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698