Closed Bug 1983807 Opened 2 months ago Closed 2 months ago

Apply the locale and timezone overrides to already created with WebDriver BiDi sandboxes

Categories

(Remote Protocol :: WebDriver BiDi, task, P2)

task
Points:
3

Tracking

(firefox144 fixed)

RESOLVED FIXED
144 Branch
Tracking Status
firefox144 --- fixed

People

(Reporter: Sasha, Assigned: Sasha)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [webdriver:m17][wptsync upstream][webdriver:relnote])

Attachments

(3 files)

The platform logic implemented in bug 1980211 for locale and in bug 1978027 for timezone doesn't apply the overrides to realms associated with sandboxes which use a window which belongs to the browsing context, which has the override set, as a global.
The problem is to find these sandboxes to apply the override to the corresponding realms. Until we have a proper platform solution, we can implement a workaround on BiDi side to apply the overrides to sandboxes which are created with WebDriver BiDi. There might be still sandboxes which are created outside BiDi, but so far the clients don't really have a way to interact with them through the protocol.

Points: --- → 3
Priority: -- → P2
Summary: Apply the locale and timezone overrides to already created sandboxes → Apply the locale and timezone overrides to already created with WebDriver BiDi sandboxes
Whiteboard: [webdriver:m17]
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Pushed by aborovova@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/701f4e52c056 https://hg.mozilla.org/integration/autoland/rev/630a1000604e Add methods to Sandbox to set locale and timezone override to realms which belong to sandboxes. r=dom-core,smaug https://github.com/mozilla-firefox/firefox/commit/42ab4a517815 https://hg.mozilla.org/integration/autoland/rev/1ba8f3c7832d [bidi] Apply the locale and timezone overrides to already created with WebDriver BiDi sandboxes. r=webdriver-reviewers,jdescottes https://github.com/mozilla-firefox/firefox/commit/7f3c269bd995 https://hg.mozilla.org/integration/autoland/rev/da5c4de485fd [wdspec] Update tests for locale and timezone emulation to verify that overrides apply to sandboxes in iframes. r=webdriver-reviewers,jdescottes
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/54743 for changes under testing/web-platform/tests
Whiteboard: [webdriver:m17] → [webdriver:m17], [wptsync upstream]
Upstream PR merged by moz-wptsync-bot
Whiteboard: [webdriver:m17], [wptsync upstream] → [webdriver:m17][wptsync upstream][webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: