Bug 71375 - Web Inspector: Expose extension API that would linkify Scripts panel.
Summary: Web Inspector: Expose extension API that would linkify Scripts panel.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-02 10:40 PDT by Malte Ubl
Modified: 2014-12-12 13:13 PST (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte Ubl 2011-11-02 10:40:31 PDT
It would be great, if web pages that display stack traces (such as test runners) could link into the script tab of web inspector.
E.g. using 
<a href="inspector:http://localhost:8000//javascript/closure/testing/asserts.js:296:3">http://localhost:8000//javascript/closure/testing/asserts.js:296:3</a>
Comment 1 Pavel Feldman 2011-11-02 11:07:46 PDT
We'd like to open inspector upon corresponding menu action only. In case it has already been opened, there should be a way to implement it say using extensions. Changing the title.
Comment 2 Pavel Feldman 2012-08-02 08:26:36 PDT
Opening inspector via link puts user at phishing risk, we should not do that.
Comment 3 Vsevolod Vlasov 2012-08-03 00:36:39 PDT
How about "In case it has already been opened, there should be a way to implement it say using extensions"?
Comment 4 Malte Ubl 2012-08-03 07:16:58 PDT
Yeah, it should definitely only work in windows that have web inspector opened. And then either
- through an extra extension
- or better: Make it an option of web inspector.

Of course, the links should only work, if and only if, these source files are already available to web inspector. It should not start downloading more source.