Summary: | Web Inspector: update call frame location when source mapping is changed. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Pavel Podivilov <podivilov> | ||||||
Component: | Web Inspector (Deprecated) | Assignee: | Pavel Podivilov <podivilov> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Pavel Podivilov
2011-09-28 05:52:24 PDT
Created attachment 109009 [details]
Patch
Comment on attachment 109009 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=109009&action=review > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:378 > + this._executionRawSourceCode.removeEventListener(WebInspector.RawSourceCode.Events.SourceMappingUpdated, this._dispatchExecutionLineChanged, this); I don't think the concept of the executionRawSourceCode should exist. Execution line for us is the line of the call frame, the one from the UI. > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:-445 > - get isInternalScript() You should mention this change in the ChangeLog > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:509 > + this._rawSourceCode.addEventListener(WebInspector.RawSourceCode.Events.SourceMappingUpdated, updatePlacard, this); Why aren't we using linkifyLocation here? (In reply to comment #2) > (From update of attachment 109009 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=109009&action=review > > > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:378 > > + this._executionRawSourceCode.removeEventListener(WebInspector.RawSourceCode.Events.SourceMappingUpdated, this._dispatchExecutionLineChanged, this); > > I don't think the concept of the executionRawSourceCode should exist. Execution line for us is the line of the call frame, the one from the UI. Done. > > > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:-445 > > - get isInternalScript() > > You should mention this change in the ChangeLog Done. > > > Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:509 > > + this._rawSourceCode.addEventListener(WebInspector.RawSourceCode.Events.SourceMappingUpdated, updatePlacard, this); > > Why aren't we using linkifyLocation here? linkifyLocation creates anchors, not placards. How can we use it here? Created attachment 109131 [details]
Patch
Committed r96588: <http://trac.webkit.org/changeset/96588> |