WebDriver Bidi does not emulate locale in dedicated and shared workers
Categories
(Remote Protocol :: WebDriver BiDi, defect, P2)
Tracking
(firefox153 fixed)
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: aslushnikov, Assigned: Sasha)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m20][wptsync upstream][webdriver:relnote])
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Steps to reproduce:
- Downstream Playwright bug: https://github.com/microsoft/playwright/issues/38919
- Downstream playwright test: https://github.com/microsoft/playwright/blob/d91dce9170eeec4de22ed4731dce25b26b58c29f/tests/library/browsercontext-locale.spec.ts#L168
Reproduction:
- clone playwright repo: git clone https://github.com/microsoft/playwright
- remove the line #169 - the
it.failexpectation. - Run the test with Firefox Bidi:
npm run biditest browsercontext-locale:168 -- --project moz-firefox-nightly-library
Actual results:
The test fails because WebDriver bidi does not emulate locale in workers.
Expected results:
WebDriver should emulate locale in workers. The test should pass.
Comment 1•7 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Internationalization' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•7 months ago
|
| Assignee | ||
Updated•7 months ago
|
| Assignee | ||
Comment 2•7 months ago
|
||
For locale emulation of the JS APIs to be picked up by the workers, we have to implement the logic of updating the locale in the realm of the existing and new workers.
For handling of navigator.language in workers, we have bug 1996547.
Updated•7 months ago
|
Updated•6 months ago
|
| Assignee | ||
Updated•6 months ago
|
| Reporter | ||
Comment 3•4 months ago
|
||
Hi folks,
Are there any plans on fixing this? If not, we'll consider migrating away from BiDi-powered api for locale emulation back to the Juggler home-grown implementation.
| Assignee | ||
Comment 4•4 months ago
|
||
(In reply to Andrey Lushnikov from comment #3)
Hi folks,
Are there any plans on fixing this? If not, we'll consider migrating away from BiDi-powered api for locale emulation back to the Juggler home-grown implementation.
Hi!
Yes, it's planned for this quarter (same for timezone), so we should get to it soon.
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 5•4 months ago
|
||
| Assignee | ||
Comment 6•4 months ago
|
||
Updated•4 months ago
|
| Assignee | ||
Comment 7•3 months ago
|
||
Comment 9•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/36c9a0048fdd
https://hg.mozilla.org/mozilla-central/rev/d7b3238c6283
https://hg.mozilla.org/mozilla-central/rev/1e3b4f7b16ad
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60269 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Updated•2 months ago
|
Description
•