Chromium Code Reviews| 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(); |
|
Erik Corry
2012/12/13 14:24:17
What's the logic here. Should both versions not w
|
| + new Error().stack; |
| } catch (e) { |
| message = e.message; |
| } |