Bug 203870 - Web Inspector: introduce browser inspector
Summary: Web Inspector: introduce browser inspector
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Yury Semikhatsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-05 16:40 PST by Yury Semikhatsky
Modified: 2022-08-17 09:28 PDT (History)
21 users (show)

See Also:


Attachments
initial implementation (117.65 KB, patch)
2019-11-05 17:31 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff
initial implementation (118.38 KB, patch)
2019-11-06 09:13 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff
initial implementation, fixed mac build (116.81 KB, patch)
2019-11-06 10:28 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff
initial implementation (108.74 KB, patch)
2019-11-06 11:29 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff
initial implementation (109.26 KB, patch)
2019-11-06 16:13 PST, Yury Semikhatsky
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Semikhatsky 2019-11-05 16:40:33 PST
We'd like to extend the inspector protocol with capabilities to
* discover all existing targets and connect to them when the application is launched with a flag
* create/delete ephemeral browsing contexts
* create new pages in specified context

This would allow us to build rich automation tooling similar to what is available for Chrome and partially Firefox (see https://pptr.dev/).
Comment 1 Yury Semikhatsky 2019-11-05 17:31:38 PST
Created attachment 382871 [details]
initial implementation
Comment 2 Yury Semikhatsky 2019-11-06 09:13:04 PST
Created attachment 382932 [details]
initial implementation
Comment 3 EWS Watchlist 2019-11-06 09:14:08 PST
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API

This patch modifies the inspector protocol. Please ensure that any frontend changes appropriately use feature checks for new protocol features.
Comment 4 Yury Semikhatsky 2019-11-06 10:28:37 PST
Created attachment 382938 [details]
initial implementation, fixed mac build
Comment 5 Yury Semikhatsky 2019-11-06 11:29:00 PST
Created attachment 382943 [details]
initial implementation
Comment 6 Yury Semikhatsky 2019-11-06 16:13:58 PST
Created attachment 382978 [details]
initial implementation
Comment 7 BJ Burg 2020-09-09 11:52:25 PDT
Comment on attachment 382978 [details]
initial implementation

Clearing r? because this patch is a year old, and now conflicts with an existing Browser.json added since then. Please rebase and send again if interested in continuing this work.