Extend the "browsingContext.getTree" command to support retrieval of browsing contexts for open ChromeWindows
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Tracking
(Not tracked)
People
(Reporter: whimboo, Assigned: whimboo)
References
(Depends on 1 open bug, Blocks 6 open bugs)
Details
(Whiteboard: [webdriver:m18])
Attachments
(5 files)
To enable the WebDriver BiDi APIs to execute certain commands in the parent process, the top-level BrowsingContext IDs of all open ChromeWindow instances (not just browser windows) are required. This allows the APIs to set a context target for executing these commands.
To retrieve a list of such contexts, the browsingContext.getTree command must be used with an additional boolean argument, moz:parentProcess, set to true. When it is set to true and system access is enabled, the command will return a list of top-level BrowsingContext IDs for all open ChromeWindow instances. If privileges are not sufficient a ”operation not supported” error will be returned.
This mentioned argument is optional and the CDDL will look like the following:
browsingContext.GetTreeParameters = {
? maxDepth: js-uint,
? root: browsingContext.BrowsingContext,
? "moz:parentProcess": bool,
}
When adding this argument we should fine a way to document such Mozilla-specific additions.
| Assignee | ||
Updated•10 months ago
|
| Assignee | ||
Updated•8 months ago
|
Updated•5 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
| Assignee | ||
Comment 3•1 month ago
|
||
| Assignee | ||
Comment 4•1 month ago
|
||
| Assignee | ||
Comment 5•1 month ago
|
||
Description
•