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

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: 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-leave-sloppy.js
diff --git a/test/mjsunit/es6/block-leave.js b/test/mjsunit/harmony/block-leave-sloppy.js
similarity index 98%
copy from test/mjsunit/es6/block-leave.js
copy to test/mjsunit/harmony/block-leave-sloppy.js
index 338631b76e0c63020b3892664da5fe788900165a..23e9fa16edd7503415a72ac6ab15ab1fccf4dd17 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'
@@ -175,7 +175,7 @@ try {
// Verify that the context is correctly set in the stack frame after exiting
-// from with.
+// from eval.
function f() {}
(function(x) {

Powered by Google App Engine
This is Rietveld 408576698