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

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

Issue 1136123010: Another regression test for resolving references to "this" in strict mode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-487105.js
diff --git a/test/message/strict-formal-parameters.js b/test/mjsunit/regress/regress-crbug-487105.js
similarity index 75%
copy from test/message/strict-formal-parameters.js
copy to test/mjsunit/regress/regress-crbug-487105.js
index a6c75317b374e6a06d3497f3812f3f220db3e880..160f9b04e030baff7ee815c3b0ce53cae59d693a 100644
--- a/test/message/strict-formal-parameters.js
+++ b/test/mjsunit/regress/regress-crbug-487105.js
@@ -3,4 +3,7 @@
// found in the LICENSE file.
"use strict";
-function foo(b, a, a, d) { return a }
+function assertThrows() {
+ eval();
+};
+eval("delete this;")
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698