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

Unified Diff: test/mjsunit/cyclic-error-to-string.js

Issue 8341021: Fix Error.prototype.toString to be ES5 conform. (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/cyclic-error-to-string.js
diff --git a/test/mjsunit/cyclic-error-to-string.js b/test/mjsunit/cyclic-error-to-string.js
index 2502b5340fd87ca4601160027f4435c6f443b452..7c43fc580e8378f00cfe22ba80f3948c726f8b21 100644
--- a/test/mjsunit/cyclic-error-to-string.js
+++ b/test/mjsunit/cyclic-error-to-string.js
@@ -36,11 +36,11 @@ e.name = e;
e.message = e;
e.stack = e;
e.arguments = e;
Lasse Reichstein 2011/10/26 07:40:24 Why .stack and .arguments? They don't seem to affe
Michael Starzinger 2011/10/26 09:30:20 Done.
-assertEquals(': ', e + '');
+assertEquals('', e + '');
Lasse Reichstein 2011/10/26 07:40:24 Seems a little odd that we can get ": " when neith
Michael Starzinger 2011/10/26 09:30:20 I agree, having a more sensible string representat
e = new Error();
e.name = [ e ];
e.message = [ e ];
e.stack = [ e ];
e.arguments = [ e ];
-assertEquals(': ', e + '');
+assertEquals('', e + '');
Lasse Reichstein 2011/10/26 07:40:24 Add a test to check the sequence of visible operat
Michael Starzinger 2011/10/26 09:30:20 Done (added with slight modifications).
« src/messages.js ('K') | « src/mirror-debugger.js ('k') | test/test262/test262.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698