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

Unified Diff: test/mjsunit/harmony/block-for.js

Issue 338363002: Drop obsolete ES6 TODOs about activating extended mode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/harmony/block-const-assign.js ('k') | test/mjsunit/harmony/block-leave.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/block-for.js
diff --git a/test/mjsunit/harmony/block-for.js b/test/mjsunit/harmony/block-for.js
index 2c112467bb708a14f265feb68abd8a0c38f836dd..110f1ccf45edde555246a8c5421db9278016e86b 100644
--- a/test/mjsunit/harmony/block-for.js
+++ b/test/mjsunit/harmony/block-for.js
@@ -27,7 +27,6 @@
// Flags: --harmony-scoping
-// TODO(ES6): properly activate extended mode
"use strict";
function props(x) {
@@ -93,7 +92,6 @@ assertEquals('ab', result);
// Check that there is exactly one variable without initializer
// in a for-in statement with let variables.
-// TODO(ES6): properly activate extended mode
assertThrows("function foo() { 'use strict'; for (let in {}) { } }", SyntaxError);
assertThrows("function foo() { 'use strict'; for (let x = 3 in {}) { } }", SyntaxError);
assertThrows("function foo() { 'use strict'; for (let x, y in {}) { } }", SyntaxError);
« no previous file with comments | « test/mjsunit/harmony/block-const-assign.js ('k') | test/mjsunit/harmony/block-leave.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698