Closed
Bug 1993079
Opened 5 months ago
Closed 24 days ago
Implement "emulation.setNetworkConditions" command for "type: offline"
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Remote Protocol
WebDriver BiDi
Tracking
(firefox150 fixed)
RESOLVED
FIXED
150 Branch
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
(Blocks 3 open bugs, )
Details
(Whiteboard: [webdriver:m19], [wptsync upstream])
Attachments
(5 files)
|
Bug 1993079 - [bidi] Use helper for all emulation commands and use NULL symbol for missing parameter
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 |
Spec PR landed at https://github.com/w3c/webdriver-bidi/pull/948 with support for offline only at the moment.
Comment 1•5 months ago
|
||
Given that it is not clear when the other network specific emulation types will land, lets concentrate on the offline mode first.
Summary: Add "emulation.setNetworkConditions" command → Implement "emulation.setNetworkConditions" command for "type: offline"
Updated•5 months ago
|
Severity: -- → S3
Points: --- → 3
Priority: -- → P2
Whiteboard: [webdriver:m19]
| Assignee | ||
Updated•28 days ago
|
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•27 days ago
|
||
This commit:
- updates the getEmulationTargets helper to also handle commands which support global configuration
- updates setUserAgentOverride to use the same helpers as the others
- creates a new helper to simplify the individual commands
- switches to NULL for all missing contextIds/userContextIds parameter
This refactor allows to implement the setNetworkConditions command easily.
This new command supports global configuration, and has tests against the None/null value.
| Assignee | ||
Comment 4•27 days ago
|
||
| Assignee | ||
Comment 5•27 days ago
|
||
| Assignee | ||
Comment 6•27 days ago
|
||
| Assignee | ||
Comment 7•26 days ago
|
||
Pushed by jdescottes@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/7a5ad5b82d88
https://hg.mozilla.org/integration/autoland/rev/1e81f7876111
[bidi] Use helper for all emulation commands and use NULL symbol for missing parameter r=Sasha
https://github.com/mozilla-firefox/firefox/commit/d4f2ce66a626
https://hg.mozilla.org/integration/autoland/rev/f1004d3636cc
[wdspec] Update all invalid tests for emulation commands to check null not accepted for contexts/userContexts r=Sasha
https://github.com/mozilla-firefox/firefox/commit/cca4c93d0a97
https://hg.mozilla.org/integration/autoland/rev/1ea7e1e5f9e2
[bidi] Add support for emulation.setNetworkConditions command r=Sasha
https://github.com/mozilla-firefox/firefox/commit/63f066db317b
https://hg.mozilla.org/integration/autoland/rev/a1c53b618049
[wdspec] Cleanup network configurations at the end of user_contexts tests r=Sasha
https://github.com/mozilla-firefox/firefox/commit/2a1ce1081346
https://hg.mozilla.org/integration/autoland/rev/810045a3d6ff
[remote] Include TestExpectations.json in toolchain paths for puppeteer r=Sasha
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/58066 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m19] → [webdriver:m19], [wptsync upstream]
Comment 10•24 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1e81f7876111
https://hg.mozilla.org/mozilla-central/rev/f1004d3636cc
https://hg.mozilla.org/mozilla-central/rev/1ea7e1e5f9e2
https://hg.mozilla.org/mozilla-central/rev/a1c53b618049
https://hg.mozilla.org/mozilla-central/rev/810045a3d6ff
Status: ASSIGNED → RESOLVED
Closed: 24 days ago
status-firefox150:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Upstream PR merged by moz-wptsync-bot
Upstream PR merged
You need to log in
before you can comment on or make changes to this bug.
Description
•