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

Unified Diff: test/mjsunit/regress/regress-crbug-498811.js

Issue 1178903003: Add script context with context-allocated "const this" (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Add test Created 5 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/cctest/test-serialize.cc ('k') | test/unittests/compiler/js-type-feedback-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-498811.js
diff --git a/test/message/strict-formal-parameters.js b/test/mjsunit/regress/regress-crbug-498811.js
similarity index 79%
copy from test/message/strict-formal-parameters.js
copy to test/mjsunit/regress/regress-crbug-498811.js
index a6c75317b374e6a06d3497f3812f3f220db3e880..53f57b8c1712da1d6cd42db76d299bfef7389c5f 100644
--- a/test/message/strict-formal-parameters.js
+++ b/test/mjsunit/regress/regress-crbug-498811.js
@@ -2,5 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// NO HARNESS
+
"use strict";
-function foo(b, a, a, d) { return a }
+let l = 0;
+eval("eval('this')");
« no previous file with comments | « test/cctest/test-serialize.cc ('k') | test/unittests/compiler/js-type-feedback-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698