Bug 73084

Summary: Web Inspector: [Extensions API] pass preferred resource line number to extension's open resource handler
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
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 Flags
Patch pfeldman: review+

Andrey Kosyakov
Reported 2011-11-24 09:39:46 PST
When it makes sense to display a specific line for the resource (e.g. context menu invoked from a line within the resource text or click on a error message with a line number), the extension's handler set by webInspector.panels.setOpenResourceHandler() should receive the line number.
Attachments
Patch (15.84 KB, patch)
2011-12-01 09:32 PST, Andrey Kosyakov
pfeldman: review+
Andrey Kosyakov
Comment 1 2011-12-01 09:32:28 PST
Pavel Feldman
Comment 2 2011-12-01 09:46:03 PST
Comment on attachment 117436 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=117436&action=review > Source/WebCore/inspector/front-end/ExtensionServer.js:285 > + var preferredLineNumber = details.preferredLineNumber; lineNumber?
Andrey Kosyakov
Comment 3 2011-12-02 02:17:51 PST
Note You need to log in before you can comment on or make changes to this bug.