Changeset 142594 in webkit
- Timestamp:
- Feb 12, 2013 1:20:48 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r142593 r142594 1 2013-02-11 Yury Semikhatsky <yurys@chromium.org> 2 3 Web Inspector: stack trace is cut at native bind if inspector is closed 4 https://bugs.webkit.org/show_bug.cgi?id=109427 5 6 Reviewed by Pavel Feldman. 7 8 Test that stack trace for uncaught exceptions is collected when inspector 9 front-end is closed. 10 11 * http/tests/inspector-enabled/console-exception-while-no-inspector-expected.txt: Added. 12 * http/tests/inspector-enabled/console-exception-while-no-inspector.html: Added. 13 * platform/chromium/http/tests/inspector-enabled/console-exception-while-no-inspector-expected.txt: Added. 14 1 15 2013-02-12 Jochen Eisinger <jochen@chromium.org> 2 16 -
trunk/Source/WebCore/ChangeLog
r142592 r142594 1 2013-02-11 Yury Semikhatsky <yurys@chromium.org> 2 3 Web Inspector: stack trace is cut at native bind if inspector is closed 4 https://bugs.webkit.org/show_bug.cgi?id=109427 5 6 Reviewed by Pavel Feldman. 7 8 Only top frame is collected instead of full stack trace when inspector 9 front-end is closed to avoid expensive operations when exceptions are 10 thrown. 11 12 Test: http/tests/inspector-enabled/console-exception-while-no-inspector.html 13 14 * inspector/InspectorConsoleAgent.cpp: 15 (WebCore::InspectorConsoleAgent::addMessageToConsole): 16 1 17 2013-02-12 Kent Tamura <tkent@chromium.org> 2 18 -
trunk/Source/WebCore/inspector/InspectorConsoleAgent.cpp
r140830 r142594 189 189 } 190 190 191 addConsoleMessage(adoptPtr(new ConsoleMessage(!isWorkerAgent(), source, type, level, message, scriptId, lineNumber, state, requestIdentifier))); 191 bool canGenerateCallStack = !isWorkerAgent() && m_frontend; 192 addConsoleMessage(adoptPtr(new ConsoleMessage(canGenerateCallStack, source, type, level, message, scriptId, lineNumber, state, requestIdentifier))); 192 193 } 193 194
Note: See TracChangeset
for help on using the changeset viewer.