[firefox-devtools-mcp] Restrict commands to use navigables from a dedicated container
Categories
(Remote Protocol :: WebDriver BiDi, enhancement, P2)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m22] )
Attachments
(3 external files)
Follow up to Bug 2067104. Once we start creating/using a dedicated user context/container for a given WebDriver session, the commands used in scope of this session should not be allowed to reach any browsing context which doesn't belong to this user context.
Might become a meta if we want to progressively enforce this, but from the user's point of view, the experience should be consistent (eg do not allow to navigate, but not to execute script, etc...).
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
The scope of this bug was restricted to:
- add the restriction around browsing contexts (via an update to the
_getNavigablehelper) - add a helper to check the user context shared across modules
Additional modifications - restrict browser commands and update global behavior - have been moved to Bug 2081128 and Bug 2081129 respectively.
| Assignee | ||
Comment 2•1 month ago
|
||
| Assignee | ||
Comment 3•1 month ago
|
||
| Assignee | ||
Comment 4•1 month ago
|
||
Comment 7•1 month ago
|
||
Backed out for causing wd failures @container_isolation.py.
| Assignee | ||
Comment 8•1 month ago
|
||
Ah yes, need to skip all the new tests on android because we don't support user contexts there.
Comment 10•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8e81d108e476
https://hg.mozilla.org/mozilla-central/rev/686192d822b6
https://hg.mozilla.org/mozilla-central/rev/f53fb54d8ee9
Description
•