Reviewers: Yang,

Message:
PTAL

Description:
Another regression test for resolving references to "this" in strict mode.

BUG=chromium:487105
LOG=N

Please review this at https://codereview.chromium.org/1136123010/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+4, -1 lines):
  A + test/mjsunit/regress/regress-crbug-487105.js


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;")


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to