Bug 14424
Summary: | Expose the WebInspector class or other methods to open it as API | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ian Cely <ian> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Enhancement | CC: | burg, mrowe |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Ian Cely
The WebInspector class is private and therefore an inspector cannot be attached to a WebView without using the contextual menu item (or private API). This class should be made public, or another way of showing the inspector should be made available so that third party apps can show the inspector with their own U.I. In addition the WebInspector class should be expanded to expose "close" functionality.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
<rdar://problem/5316260>
Timothy Hatcher
This class went through some changes in r27266. There is now a close method, among other things.
Ian Cely
I would also like a (public) way to get a pointer to the WebInspector for a given WebView. Is there any good reason -[WebView inspector] needs to remain in WebViewPrivate.h?