tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 174ef152042b5a54bce2a98061e3215cbee73ffb
parent 0f883d56b31373cd28d83958610735cd83048f40
Author: Alexandra Borovova <aborovova@mozilla.com>
Date:   Thu,  4 Dec 2025 12:27:59 +0000

Bug 2000651 - [wpt] Add support for "emulation.setScreenSettingsOverride" command to bidi test client. r=jgraham,whimboo

Differential Revision: https://phabricator.services.mozilla.com/D273427

Diffstat:
Mtesting/web-platform/tests/tools/webdriver/webdriver/bidi/modules/emulation.py | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/tools/webdriver/webdriver/bidi/modules/emulation.py b/testing/web-platform/tests/tools/webdriver/webdriver/bidi/modules/emulation.py @@ -80,6 +80,19 @@ class Emulation(BidiModule): } @command + def set_screen_settings_override( + self, + screen_area: Nullable[Dict[str, Any]], + contexts: Maybe[List[str]] = UNDEFINED, + user_contexts: Maybe[List[str]] = UNDEFINED, + ) -> Mapping[str, Any]: + return { + "screenArea": screen_area, + "contexts": contexts, + "userContexts": user_contexts + } + + @command def set_timezone_override( self, timezone: Nullable[str],