[Webkit-unassigned] [Bug 13646] implement Error.prototype.stack
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 11 21:28:04 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=13646
------- Comment #7 from eric at webkit.org 2009-05-11 21:28 PDT -------
For what it's worth, V8 has an internal bug about this:
http://b/issue?id=1128410 (The only reason it's internal is that I was filed 6
months before Chrome launched. It really should be moved into a public bug.)
The conclusion was originally drawn that creating a stack trace on every
exception throw was too expensive, and that it would be a large perf-hit for
web apps which throw exceptions.
The way that WebCore/JSC seems to do this for the inspector:
http://trac.webkit.org/browser/trunk/WebCore/bindings/js/ScriptCallStack.cpp
where we only record the first call stack and lazily record the rest of them.
I don't know if the same approach would work for general exceptions in JSC as
well or not.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list