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

Unified Diff: test/webkit/toString-for-var-decl.js

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/webkit/function-declaration-statement.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/toString-for-var-decl.js
diff --git a/test/webkit/toString-for-var-decl.js b/test/webkit/toString-for-var-decl.js
index 2b4db731681c70cd66beb6d955493d138a0aa29d..ba308837d0f51da50790744a4cbc78dfd6b6d111 100644
--- a/test/webkit/toString-for-var-decl.js
+++ b/test/webkit/toString-for-var-decl.js
@@ -25,7 +25,7 @@ description(
"This test checks for a couple of specific ways that bugs in toString() round trips have changed the meanings of functions with var declarations inside for loops."
);
-function f1() { for (var j = 1 in []) {} }
+function f1() { for (var j in []) {} }
var f2 = function () { for (var j = 1; j < 10; ++j) {} }
var f3 = function () { for (j = 1;j < 10; ++j) {} }
var f4 = function () { for (var j;;) {} }
« no previous file with comments | « test/webkit/function-declaration-statement.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698