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

Unified Diff: test/mjsunit/harmony/block-leave-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: Cleanup 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-leave-sloppy.js
diff --git a/test/mjsunit/es6/block-leave.js b/test/mjsunit/harmony/block-leave-sloppy.js
similarity index 99%
copy from test/mjsunit/es6/block-leave.js
copy to test/mjsunit/harmony/block-leave-sloppy.js
index 338631b76e0c63020b3892664da5fe788900165a..52241cfe185acc3677f502dfec83fb2f44869604 100644
--- a/test/mjsunit/es6/block-leave.js
+++ b/test/mjsunit/harmony/block-leave-sloppy.js
@@ -25,7 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"use strict";
+// Flags: --no-legacy-const --harmony-sloppy
// We want to test the context chain shape. In each of the tests cases
// below, the outer with is to force a runtime lookup of the identifier 'x'

Powered by Google App Engine
This is Rietveld 408576698