Very cool! I was able to modify my cross-browser "getScriptName" function to work A LOT more confidently with V8 with this API. Thanks for documenting. What's the earliest version of Chrome that this should work in?
Here's my updated script, in case anyone wants to take a look: http://gist.github.com/433486 And the old version (look at the Chrome section for a laugh in unreliability): https://gist.github.com/433486/4252027bf8e722798e63911075f7903a33d65da7 On Jun 28, 11:49 pm, Søren Gjesse <[email protected]> wrote: > There has been a JavaScript stack trace API in V8 for some time now, but it > have not been well documented. However this has now been fixed and the nice > documentation by christian.plesner.hansen can be found > athttp://code.google.com/p/v8/wiki/JavaScriptStackTraceApi. > > There is also a C++ counterpart for which the documentation is in the C++ > header file. Look for class StackTrace and friends > inhttp://code.google.com/p/v8/source/browse/branches/bleeding_edge/incl... > . > > Regards, > Søren -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
