Reviewers: ulan,

Description:
Fix stack trace recursion test.


[email protected]
BUG=


Please review this at https://chromiumcodereview.appspot.com/11554022/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M test/mjsunit/stack-traces.js


Index: test/mjsunit/stack-traces.js
diff --git a/test/mjsunit/stack-traces.js b/test/mjsunit/stack-traces.js
index 71d64191c106f979fdf715ba35c36a5c34417d62..d123df85fd37f4fd82373da2b6ad43bcdf1beec1 100644
--- a/test/mjsunit/stack-traces.js
+++ b/test/mjsunit/stack-traces.js
@@ -315,7 +315,7 @@ assertTrue(fired);
 Error.prepareStackTrace = function() { throw new Error("abc"); }
 var message;
 try {
-  throw new Error();
+  new Error().stack;
 } catch (e) {
   message = e.message;
 }


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to