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

Unified Diff: test/mjsunit/harmony/block-scoping-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-sloppy.js
diff --git a/test/mjsunit/es6/block-scoping.js b/test/mjsunit/harmony/block-scoping-sloppy.js
similarity index 98%
copy from test/mjsunit/es6/block-scoping.js
copy to test/mjsunit/harmony/block-scoping-sloppy.js
index 5f481b8bf2ebb9f87d8bc78d0972aa3097a35937..19d1e9afa62ec4c896e5b07f4a9cdf7bb6af4865 100644
--- a/test/mjsunit/es6/block-scoping.js
+++ b/test/mjsunit/harmony/block-scoping-sloppy.js
@@ -25,11 +25,9 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Flags: --allow-natives-syntax
+// Flags: --allow-natives-syntax --harmony-sloppy --no-legacy-const
// Test functionality of block scopes.
-"use strict";
-
// Hoisting of var declarations.
function f1() {
{

Powered by Google App Engine
This is Rietveld 408576698