Copied from crbug.com/228909
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
Steps to reproduce the problem:
1. Go to this url: http://jsfiddle.net/salomvary/DVM6j/3/
2. Look at the "result" panel.
What is the expected behavior?
Should see "MyError: foo" there.
What went wrong?
I see "Uncaught [object Object]" there.
Looks like when an error is thrown which inherits from Error, when the error is reported to window.onerror or console or developer tools, something goes wrong when creating a string representation of the error object.
Did this work before? Yes I detected the issue on the 4 Feb 2013, Chrome 25.
Chrome version: 26.0.1410.43 Channel: stable
OS Version: OS X 10.8.3
I'm not familiar with the v8/Chromium codebase but my guess is that the problem is around here: