Julian Descottes
0450ac1329
Bug 2027762 - [remote] Only allow specific commands from windowglobal modules r=Sasha
...
Differential Revision: https://phabricator.services.mozilla.com/D290938
2026-04-10 09:09:34 +00:00
Julian Descottes
c91fea99a7
Bug 1936770 - [remote] Allow to emit an event for several related contexts r=Sasha
...
To support realm events for shared and service workers - which can have more than 1 related context - we need to adapt our logic to match several browsing contexts to a single context descriptor.
On the bidi spec, this is expressed in the event is enabled algorithm (https://w3c.github.io/webdriver-bidi/#event-is-enabled )which takes an array of navigables as parameter. In order to enable this, a few event-related APIs are modified to support matching several browsing context ids.
We should be able to emit an event related to N contexts, and the event should be emitted if:
- any subscription monitors any of the related contexts
- any subscription monitors the user context of any of the related contexts
- any subscription is global
Note that this allows to emit an event related to 0 browsing contexts. In that case, global subscriptions should still get the event.
While this is handy given that we can't currently retrieve the contexts related to service and shared worker, this is also an important feature in the long run.
It is completely possible to have a worker instance for a service worker which. starts running even if no related context is open at the moment.
A dedicated browser mochitest is added to cover the new feature.
Differential Revision: https://phabricator.services.mozilla.com/D282748
2026-02-13 20:02:57 +00:00
Alexandra Borovova
caf132b115
Bug 1987935 - [bidi] Implement "emulation.setUserAgentOverride" command. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D265764
2025-09-26 12:45:56 +00:00
Julian Descottes
e4d7d91b83
Bug 1981183 - Enable codespell linter for most remote/ folders r=webdriver-reviewers,Sasha
...
Differential Revision: https://phabricator.services.mozilla.com/D259998
2025-08-06 14:02:32 +00:00
Alexandra Borovova
3c9bf3b030
Bug 1940927 - [messagehandler] Introduce UserContext context descriptor. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D235928
2025-01-31 15:38:29 +00:00
Narcis Beleuzu
266bfeb4c5
Backed out 4 changesets (bug 1940927) for causing WD failure on add_preload_script.py . CLOSED TREE
...
Backed out changeset 9c354a5fddb0 (bug 1940927)
Backed out changeset f66201e2bcd6 (bug 1940927)
Backed out changeset d79bb21484f4 (bug 1940927)
Backed out changeset 3b99aec7915d (bug 1940927)
2025-01-31 17:01:36 +02:00
Alexandra Borovova
dcd3c5c789
Bug 1940927 - [messagehandler] Introduce UserContext context descriptor. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D235928
2025-01-31 13:45:45 +00:00
Liam DeBeasi
228d829166
Bug 1916498 - Add _forwardToWindowGlobal helper r=jdescottes,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D224880
2024-10-15 08:31:01 +00:00
Julian Descottes
c3aa17d793
Bug 1918672 - [bidi] Retry all commands if the browsing context is loading or is initial r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D222602
2024-09-19 12:05:46 +00:00
Mark Banner
4cf2e34a94
Bug 1884623 - Update more jsm references in production code and docs in remote/. r=whimboo,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D204187
2024-03-12 08:55:41 +00:00
Dave Townsend
462704a507
Bug 1864896: Remove jsdoc params for removed arguments (remote). r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D202982
2024-03-01 23:43:51 +00:00
Dave Townsend
32b536b828
Bug 1864896: Autofix unused function arguments (remote). r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D202981
2024-03-01 23:43:51 +00:00
Alexandra Borovova
90592da61e
Bug 1788659 - [bidi] Implement "script.realmDestroyed" event. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D187550
2023-09-12 09:39:56 +00:00
Gregory Pappas
e9950eccfd
Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +00:00
Julian Descottes
3638d48b3b
Bug 1830404 - [remote] Support sending message handler commands from windowglobal to root r=webdriver-reviewers,whimboo
...
Depends on D176713
Differential Revision: https://phabricator.services.mozilla.com/D176714
2023-05-02 20:11:50 +00:00
Julian Descottes
1a24137dc8
Bug 1826366 - [remote] Manual fixes for valid-jsdoc in remote r=webdriver-reviewers,whimboo
...
Depends on D174738
Differential Revision: https://phabricator.services.mozilla.com/D174739
2023-04-05 16:25:48 +00:00
Julian Descottes
86c898746c
Bug 1826366 - [remote] Apply lint --fix for valid-jsdoc in remote r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D174738
2023-04-05 16:25:47 +00:00
Alexandra Borovova
15f1b6a825
Bug 1741834 - [messagehandler] Support transactions when using sessionData. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D163957
2022-12-21 13:31:36 +00:00
Mark Banner
5407bdffa8
Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
...
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.
Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Julian Descottes
6f7e347cec
Bug 1790468 - [remote] Convert /remote/shared JSM modules to ESM r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D158293
2022-09-30 11:08:06 +00:00