Bug 140816 - Web Inspector: Extension API
Summary: Web Inspector: Extension API
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-01-22 22:33 PST by Tony Coconate
Modified: 2018-05-25 10:57 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Coconate 2015-01-22 22:33:55 PST
Does Safari/WebKit plan to implement something like Chrome's DevTools panel creation?

    chrome.devtools.panels.create("Ember", "images/ember-icon-final.png", "panes/index.html");

Something like that would then create a new panel in the Web Inspector. I poked around the public APIs for Safari's Extensions but could not access the Web Inspector window at all. Is there any way to do this? We would like to implement https://github.com/emberjs/ember-inspector natively for Safari.
Comment 1 Radar WebKit Bug Importer 2015-01-22 22:34:24 PST
<rdar://problem/19575436>
Comment 2 Timothy Hatcher 2015-01-23 06:44:19 PST
WebKit's Web Inspector does not have panels in the sense that Chrome's does. So the same or similar API would not work for us.

We have considered extensions in the past, and will continue to evaluate the idea in the future.
Comment 3 Tony Coconate 2015-03-30 12:00:13 PDT
That would be a positive addition for the developer community to contribute to Safari's dev tools. We are tracking this issue on the Ember Inspector GitHub Issue here: https://github.com/emberjs/ember-inspector/issues/244

Any further help or information would be much appreciated. Thanks!
Comment 4 Timothy Hatcher 2015-03-30 12:12:14 PDT
Stay tuned. We have some ideas in the works, but I am not sure what it will mean for extensions yet.
Comment 5 Iraê 2015-08-11 18:28:39 PDT
I am eager to hear something about this. I think all of Ember, Angular and in my case ReactTools would be a great addition to the WebInspector! Here at Yahoo React is now largely adopted and we ship so much products targeting iOS Mobile Safari. This could shift a lot of our developers from using Chrome to debug Safari-only experiences.
Comment 6 Timothy Hatcher 2015-08-11 20:54:53 PDT
Thank you for the call for support. We are currently evaluating our stance on extensions for Web Inspector. Your requests help us prioritize that work.
Comment 7 Tony Coconate 2015-09-29 12:04:00 PDT
Any update on extensions? I'm looking at Safari 9.0.1 and don't see a public API yet.
Comment 8 Timothy Hatcher 2015-09-30 16:24:49 PDT
No extension API in Safari 9. We started looking into it after Safari 9 locked down.
Comment 9 Tony Coconate 2016-06-01 08:54:48 PDT
Any update on this?
Comment 10 Timothy Hatcher 2016-06-02 13:31:55 PDT
No updates at this time. Thanks for the interest.
Comment 11 Tony Coconate 2018-05-25 10:57:40 PDT
Any movement here? Would like an API for the Extension window so we can get some productive tools in there like the Ember Inspector and the React Panel.