Web Inspector: [Regression] Execution line is not revealed when debugger is stopped...
authorvsevik@chromium.org <vsevik@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Mar 2012 12:28:57 +0000 (12:28 +0000)
committervsevik@chromium.org <vsevik@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Mar 2012 12:28:57 +0000 (12:28 +0000)
commitbdb912fb5299cf62ddd2f123d4dba35eb071630f
tree41e0164abe53a6319822c292cb3c44e87a2d5f61
parent43b80c058a6ba9251af22df6fb25819476da8140
Web Inspector: [Regression] Execution line is not revealed when debugger is stopped if scripts panel was not yet shown.
https://bugs.webkit.org/show_bug.cgi?id=80306

Reviewed by Pavel Feldman.

Source/WebCore:

Test: inspector/debugger/reveal-execution-line.html

* inspector/front-end/ConsoleView.js:
* inspector/front-end/DebuggerPresentationModel.js:
(WebInspector.DebuggerPresentationModel.prototype._debuggerPaused):
* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.afterTextChanged):
(WebInspector.JavaScriptSourceFrame.prototype.setExecutionLine):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._executionLineChanged):
(WebInspector.ScriptsPanel.prototype._revealExecutionLine):
(WebInspector.ScriptsPanel.prototype._callFrameSelected):
* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype.willHide):
(WebInspector.SourceFrame.prototype.highlightLine):
(WebInspector.SourceFrame.prototype.revealLine):
(WebInspector.SourceFrame.prototype._clearLineToReveal):
(WebInspector.SourceFrame.prototype.setContent):

LayoutTests:

* inspector/debugger/callstack-placards-discarded-expected.txt:
* inspector/debugger/reveal-execution-line-expected.txt: Added.
* inspector/debugger/reveal-execution-line.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/debugger/callstack-placards-discarded-expected.txt
LayoutTests/inspector/debugger/reveal-execution-line-expected.txt [new file with mode: 0644]
LayoutTests/inspector/debugger/reveal-execution-line.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/ConsoleView.js
Source/WebCore/inspector/front-end/DebuggerPresentationModel.js
Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js
Source/WebCore/inspector/front-end/ScriptsPanel.js
Source/WebCore/inspector/front-end/SourceFrame.js