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

Unified Diff: test/mjsunit/regress/regress-221.js

Issue 8343054: Make eval consider anything on the form eval(args...) a potential direct cal (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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/regress/regress-221.js
diff --git a/test/mjsunit/regress/regress-221.js b/test/mjsunit/regress/regress-221.js
index d3f2e35539b41b65b42a16da1cf8a83321bc3deb..788a0e1a42fe860c5199066d4098fcfcef2b87f5 100644
--- a/test/mjsunit/regress/regress-221.js
+++ b/test/mjsunit/regress/regress-221.js
@@ -30,5 +30,4 @@
// See http://code.google.com/p/v8/issues/detail?id=221
-assertThrows('eval(delete eval)');
-
+assertThrows('for(;;) eval("delete eval");');
Rico 2011/10/31 08:14:56 if we actually do not throw this will be a timout,
Lasse Reichstein 2011/10/31 09:37:46 This test is pretty meaningless now, so I'll just

Powered by Google App Engine
This is Rietveld 408576698