limeditor / chromedevtools

Automatically exported from code.google.com/p/chromedevtools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Suboptimal error messages when calling a non-existent method on a constructor #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
SDK/Debugger version:
Google Chrome/V8 Embedder + version: all
OS + version: all

What steps will reproduce the problem?
1. navigate to: http://jsfiddle.net/rWuXh/
2. an alert with popup providing a sub-optimal error message

What is the expected result?
Something more digestible, likely related to the call site.
Try it in Safari for (currently) a more ergonomic experience.

What happens instead?
The entire source of the function becomes the error message, which provides 
very little value.

Please provide any additional information below. If possible, attach a
(reduced) test-case.

Original issue reported on code.google.com by stefan.p...@gmail.com on 28 Jan 2014 at 10:00

GoogleCodeExporter commented 8 years ago
bah, wrong issue tracker..

Original comment by stefan.p...@gmail.com on 28 Jan 2014 at 10:01

GoogleCodeExporter commented 8 years ago
Is this filed against chrome devtools? Please reopen if it is.

Original comment by pfeld...@chromium.org on 29 Jan 2014 at 2:08