Changeset 154681 in webkit
- Timestamp:
- Aug 27, 2013, 7:13:31 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/inspector-protocol/debugger (added)
-
LayoutTests/inspector-protocol/debugger/column-breakpoint-expected.txt (added)
-
LayoutTests/inspector-protocol/debugger/column-breakpoint.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/bindings/js/ScriptDebugServer.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r154680 r154681 1 2013-08-27 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Column Breakpoint not working, may be off by 1 4 https://bugs.webkit.org/show_bug.cgi?id=120334 5 6 Reviewed by David Kilzer. 7 8 Write a protocol test for setting a breakpoint at a line:column. 9 10 * inspector-protocol/debugger/column-breakpoint-expected.txt: Added. 11 * inspector-protocol/debugger/column-breakpoint.html: Added. 12 1 13 2013-08-27 Krzysztof Czech <k.czech@samsung.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r154679 r154681 1 2013-08-27 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Column Breakpoint not working, may be off by 1 4 https://bugs.webkit.org/show_bug.cgi?id=120334 5 6 Reviewed by David Kilzer. 7 8 JavaScriptCore changed to 1-based column numbers at some point. We 9 need to update the ScriptDebugger assumption that they were 0-based. 10 11 Test: inspector-protocol/debugger/column-breakpoint.html 12 13 * bindings/js/ScriptDebugServer.cpp: 14 (WebCore::ScriptDebugServer::createCallFrame): 15 (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded): 16 1 17 2013-08-27 Antti Koivisto <antti@apple.com> 2 18 -
trunk/Source/WebCore/bindings/js/ScriptDebugServer.cpp
r154038 r154681 391 391 void ScriptDebugServer::createCallFrame(const DebuggerCallFrame& debuggerCallFrame, intptr_t sourceID, int lineNumber, int columnNumber) 392 392 { 393 TextPosition textPosition(OrdinalNumber::fromOneBasedInt(lineNumber), OrdinalNumber::from ZeroBasedInt(columnNumber));393 TextPosition textPosition(OrdinalNumber::fromOneBasedInt(lineNumber), OrdinalNumber::fromOneBasedInt(columnNumber)); 394 394 m_currentCallFrame = JavaScriptCallFrame::create(debuggerCallFrame, m_currentCallFrame, sourceID, textPosition); 395 395 if (m_lastExecutedSourceId != sourceID) { … … 405 405 return; 406 406 407 TextPosition textPosition(OrdinalNumber::fromOneBasedInt(lineNumber), OrdinalNumber::from ZeroBasedInt(columnNumber));407 TextPosition textPosition(OrdinalNumber::fromOneBasedInt(lineNumber), OrdinalNumber::fromOneBasedInt(columnNumber)); 408 408 m_currentCallFrame->update(debuggerCallFrame, sourceID, textPosition); 409 409 pauseIfNeeded(debuggerCallFrame.dynamicGlobalObject());
Note:
See TracChangeset
for help on using the changeset viewer.