Status: New
Owner: ----
New issue 1722 by [email protected]: Native DOMExceptions don't have
stack traces
http://code.google.com/p/v8/issues/detail?id=1722
When you catch a DOMException, it does not include stack trace information
in V8. For example:
try {
var elt = document.createElement("div");
elt.appendChild(elt);
}
catch(e) {
// no e.stack
}
This is very problematic for production apps where spurious errors are
thrown and trapped by top-level error handlers. The only way to determine
which method triggered the exception would be to place try/catch blocks
around every region that can possibly raise DOMException. This would both
bloat code, and slow it down.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev