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

Unified Diff: test/mjsunit/harmony/block-scoping-top-level-sloppy.js

Issue 1219853004: [es6] Initial support for let/const bindings in sloppy mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Updated tests and comments Created 5 years, 5 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
Index: test/mjsunit/harmony/block-scoping-top-level-sloppy.js
diff --git a/test/mjsunit/es6/block-scoping-top-level.js b/test/mjsunit/harmony/block-scoping-top-level-sloppy.js
similarity index 92%
copy from test/mjsunit/es6/block-scoping-top-level.js
copy to test/mjsunit/harmony/block-scoping-top-level-sloppy.js
index a421b4fb4f42965431f48d8a3110ed5d79a5053b..f86e1a16afb383593adcfdb07191a96617d6c57c 100644
--- a/test/mjsunit/es6/block-scoping-top-level.js
+++ b/test/mjsunit/harmony/block-scoping-top-level-sloppy.js
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// Flags: --min-preparse-length=0
-'use strict';
+// Flags: --no-legacy-const --harmony-sloppy
let xxx = 1;
let f = undefined;

Powered by Google App Engine
This is Rietveld 408576698