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.
Created attachment 117436 [details] Patch
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?
Committed r101769: <http://trac.webkit.org/changeset/101769>