Changeset 96131 in webkit for trunk/Source/JavaScriptCore/ChangeLog
- Timestamp:
- Sep 27, 2011, 10:58:55 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r96087 r96131 1 2011-09-27 Juan Carlos Montemayor Elosua <[email protected]> 2 3 Implement Error.stack 4 https://bugs.webkit.org/show_bug.cgi?id=66994 5 6 Reviewed by Oliver Hunt. 7 8 This patch utilizes topCallFrame to create a stack trace when 9 an error is thrown. Users will also be able to use the stack() 10 command in jsc to get arrays with stack trace information. 11 12 * JavaScriptCore.exp: 13 * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: 14 * interpreter/Interpreter.cpp: 15 (JSC::getCallerLine): 16 (JSC::getSourceURLFromCallFrame): 17 (JSC::getStackFrameCodeType): 18 (JSC::Interpreter::getStackTrace): 19 (JSC::Interpreter::throwException): 20 * interpreter/Interpreter.h: 21 (JSC::StackFrame::toString): 22 * jsc.cpp: 23 (GlobalObject::finishCreation): 24 (functionJSCStack): 25 * parser/Parser.h: 26 (JSC::Parser::parse): 27 * runtime/CommonIdentifiers.h: 28 * runtime/Error.cpp: 29 (JSC::addErrorInfo): 30 * runtime/Error.h: 31 1 32 2011-09-27 Carlos Garcia Campos <[email protected]> 2 33
Note:
See TracChangeset
for help on using the changeset viewer.