Extend the "browsingContext.getTree" command to support retrieval of browsing contexts for open ChromeWindows
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Tracking
(firefox148 fixed)
| Tracking | Status | |
|---|---|---|
| firefox148 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
(Blocks 5 open bugs)
Details
(Whiteboard: [webdriver:m18], [wptsync upstream][webdriver:relnote])
Attachments
(8 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
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•1 year ago
|
| Assignee | ||
Updated•11 months ago
|
Updated•8 months ago
|
Updated•5 months ago
|
| Assignee | ||
Comment 1•4 months ago
|
||
Updated•4 months ago
|
| Assignee | ||
Comment 2•4 months ago
|
||
| Assignee | ||
Comment 3•4 months ago
|
||
| Assignee | ||
Comment 4•4 months ago
|
||
| Assignee | ||
Comment 5•4 months ago
|
||
| Assignee | ||
Comment 6•3 months ago
|
||
| Assignee | ||
Comment 7•3 months ago
|
||
| Assignee | ||
Comment 8•3 months ago
|
||
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Comment 11•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/95a2a5a2d772
https://hg.mozilla.org/mozilla-central/rev/8a8c38d34611
https://hg.mozilla.org/mozilla-central/rev/413264ce151a
https://hg.mozilla.org/mozilla-central/rev/e84dd626f966
https://hg.mozilla.org/mozilla-central/rev/843da4c4382c
https://hg.mozilla.org/mozilla-central/rev/38c56db84404
https://hg.mozilla.org/mozilla-central/rev/e8757a81c148
https://hg.mozilla.org/mozilla-central/rev/0be20fb4e407
| Assignee | ||
Updated•18 days ago
|
Description
•