Граф коммитов

1520 Коммитов

Автор SHA1 Сообщение Дата
Natalia Csoregi e87ecf485e Backed out 3 changesets (bug 1834222, bug 1834176) for causing RemoteProcessMonitor failures. CLOSED TREE
Backed out changeset 346d3a1568dd (bug 1834222)
Backed out changeset ea1d8b634bfc (bug 1834176)
Backed out changeset 74d1880272d3 (bug 1834176)
2023-05-24 04:29:45 +03:00
Mark Banner fbc15bdb60 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 19:09:29 +00:00
Katherine Patenio 75bab3bab8 Bug 1830809 - Convert JS modules in browser/components/syncedtabs to ES module r=webdriver-reviewers,Standard8,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178368
2023-05-23 17:48:42 +00:00
Noemi Erli aa2f146d78 Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
Backed out changeset 57876d77a652 (bug 1834176)
Backed out changeset ae2f0837b528 (bug 1834176)
2023-05-23 12:14:37 +03:00
Mark Banner e3e9a991b8 Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 08:13:08 +00:00
Dan Robertson e5b4659701 Bug 1821733 - End the current wheel event group on perform action. r=webdriver-reviewers,whimboo
Ensure that a wheel event group does not live longer than the action
chain, by calling EndTransaction on performActions().

Depends on D177923

Differential Revision: https://phabricator.services.mozilla.com/D177924
2023-05-22 19:50:10 +00:00
Julian Descottes 548bf8633f Bug 1832028 - [bidi] Throw NoSuchElement if ElementOrigin's node is not an element r=webdriver-reviewers,whimboo
At the moment the actions module would already throw an InvalidArgument error, but for BiDi we want explicitly to throw NoSuchElement in this case.

Differential Revision: https://phabricator.services.mozilla.com/D178185
2023-05-22 14:05:27 +00:00
Mark Banner 2a53076d43 Bug 1826063 - Automatic fixes for enabling Prettier on production xhtml and html files. r=mossop,webdriver-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,fxview-reviewers,sgalich,nalexander,devtools-reviewers,sclements,denschub,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177938
2023-05-20 12:26:56 +00:00
Mark Banner 730da94f3a Bug 1826062 - Manual fixes for Prettier 2.8.8 upgrade. r=mossop,webdriver-reviewers,extension-reviewers,devtools-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D177908
2023-05-20 12:26:55 +00:00
Mark Banner 130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner 8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Natalia Csoregi 4ab7fd28a6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2023-05-16 15:37:05 +03:00
Natalia Csoregi 2d404ebada Backed out 8 changesets (bug 1830884, bug 1822466) for causing regressions in the upstream wpt tests. a=backout
Backed out changeset 7f4052a38bc6 (bug 1830884)
Backed out changeset 67d5d6a5f321 (bug 1830884)
Backed out changeset 77f0334c7976 (bug 1830884)
Backed out changeset 31607d74ee69 (bug 1830884)
Backed out changeset 256239106623 (bug 1822466)
Backed out changeset d94b6d6cd713 (bug 1822466)
Backed out changeset 2c6d325cb248 (bug 1822466)
Backed out changeset b89608b3c46a (bug 1822466)
2023-05-16 15:33:54 +03:00
Henrik Skupin 4a00fc9777 Bug 1832380 - [webdriver-bidi] Remove experimental flag for "input.performActions" and "input.releaseActions". r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D178091
2023-05-16 06:03:56 +00:00
Alexandra Borovova a064092ce2 Bug 1790185 - [marionette] Use PollPromise when trying to connect to marionette server. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D177134
2023-05-15 08:04:02 +00:00
James Teh f2ba08adbd Bug 1828816: Marionette accessibility.getAccessible: If the requested Accessible doesn't exist, force refresh driver ticks and retry. r=whimboo,webdriver-reviewers
Some tests dynamically add elements to the DOM.
Since accessibility updates occur in refresh driver ticks, the Accessible often wasn't created yet when WebDriver requested it, causing intermittent WPT failures.
Now, we force refresh driver ticks to give accessibility a chance to update.

Differential Revision: https://phabricator.services.mozilla.com/D177851
2023-05-12 21:31:24 +00:00
Henrik Skupin 5afb9b7667 Bug 1830884 - [webdriver-bidi] Update Navigable's seen nodes map for known nodes. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D177496
2023-05-12 19:15:56 +00:00
Henrik Skupin caf750491b Bug 1830884 - [webdriver-bidi] Add serialization / deserialization helpers to WindowGlobalBiDiModule. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D177495
2023-05-12 19:15:56 +00:00
Henrik Skupin ae48ea1fd1 Bug 1830884 - [webdriver-bidi] Added WebDriver BiDi base module for root destination. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D177494
2023-05-12 19:15:56 +00:00
Henrik Skupin e7c0624686 Bug 1830884 - [remote] Make element.sys.mjs a shared module and separate out WebReference for Marionette only.. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D177493
2023-05-12 19:15:56 +00:00
Henrik Skupin 377ff8fb69 Bug 1822466 - [marionette] Check Navigable's seen nodes map for known nodes. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D177492
2023-05-12 19:15:56 +00:00
Henrik Skupin cb7c4b36b3 Bug 1822466 - [marionette] Move WebElement and ShadowRoot serialization/deserialization helpers to Marionette command client actor. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D177491
2023-05-12 19:15:55 +00:00
Henrik Skupin 7d0e610e9a Bug 1822466 - [marionette] Add global WebDriverSession map as singleton and allow access for Marionette command parent actor. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D177490
2023-05-12 19:15:55 +00:00
James Teh 60fc6f7553 Bug 1832750: Marionette sync.waitForObserverTopic: Support a timeout option. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175990
2023-05-12 06:51:41 +00:00
Natalia Csoregi 75454ab16e Backed out 2 changesets (bug 1828816) for frequent failures on /html-aam/roles.html CLOSED TREE
Backed out changeset f3f51a672d70 (bug 1828816)
Backed out changeset 190da2ededf7 (bug 1828816)
2023-05-11 18:18:37 +03:00
Iulian Moraru 226e06a38e Merge mozilla-central to autoland on a CLOSED TREE 2023-05-11 16:18:52 +03:00
Iulian Moraru 5b0f4d5adf Backed out changeset 05208f2e0785 (bug 1790185) for causing local failures for Marinoette tests. a=backout 2023-05-11 16:07:55 +03:00
James Teh b3e806a187 Bug 1828816 part 2: Marionette accessibility.getAccessible: If the requested Accessible doesn't exist, wait for it to be created. r=jdescottes,webdriver-reviewers,whimboo
Some tests dynamically add elements to the DOM.
Since accessibility updates occur in refresh driver ticks, the Accessible often wasn't created yet when WebDriver requested it, causing intermittent WPT failures.
See the code comments for an explanation of how this works.

Differential Revision: https://phabricator.services.mozilla.com/D175972
2023-05-11 10:29:30 +00:00
James Teh f5b5c7c806 Bug 1828816 part 1: Marionette sync.waitForObserverTopic: Support a timeout option. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175990
2023-05-11 10:29:30 +00:00
Alexandra Borovova 759ef2eb66 Bug 1790185 - [marionette] Use PollPromise when trying to connect to marionette server. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D177134
2023-05-09 15:57:53 +00:00
Julian Descottes e1061170bb Bug 1832031 - [bidi] Deserialize action element origins early in input module r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D177467
2023-05-09 15:05:50 +00:00
Alexandra Borovova 3d6db0dae7 Bug 1824908 - [puppeteer] Sync vendored puppeteer to v20.1.0. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D177247
2023-05-09 12:51:05 +00:00
Cristian Tuns b123f91b9c Backed out 2 changesets (bug 1828816) for causing wpt failures in roles.html CLOSED TREE
Backed out changeset a84313d70b9f (bug 1828816)
Backed out changeset f01409331e4b (bug 1828816)
2023-05-08 04:04:50 -04:00
James Teh 8da53261a2 Bug 1828816 part 2: Marionette accessibility.getAccessible: If the requested Accessible doesn't exist, wait for it to be created. r=jdescottes,webdriver-reviewers,whimboo
Some tests dynamically add elements to the DOM.
Since accessibility updates occur in refresh driver ticks, the Accessible often wasn't created yet when WebDriver requested it, causing intermittent WPT failures.
See the code comments for an explanation of how this works.

Differential Revision: https://phabricator.services.mozilla.com/D175972
2023-05-08 03:38:50 +00:00
James Teh d507939b50 Bug 1828816 part 1: Marionette sync.waitForObserverTopic: Support a timeout option. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175990
2023-05-08 03:38:50 +00:00
Julian Descottes 23354acf57 Bug 1806788 - [remote] Support actions using an element origin r=webdriver-reviewers,jgraham
Depends on D177080

Differential Revision: https://phabricator.services.mozilla.com/D177078
2023-05-05 16:32:21 +00:00
Julian Descottes e1574164ba Bug 1831411 - [remote] Commands send to root modules from windowglobal should run in the parent r=webdriver-reviewers,Sasha
Depends on D177181

Quick summary:

Handling a command is mostly done in 2 steps
- first check if there is a module in the current layer which matches the command
- if yes: send the command to this module, if no: try to forward the command (using forwardCommand which has different implementations for each message handler)

The initial patch to allow windowglobal -> root communication was flawed, because it updated the ModuleCache to return "root" modules when the destination was of type ROOT. However that's not how MessageHandler modules are supposed to work. The ModuleCache should only ever return modules which can be loaded in the current "layer". So if we are in a windowglobal ModuleCache, we should never return a "root" module.

Instead the ModuleCache should return (and store) `null` for this load attempt, so that the MessageHandler can go to the `forwardCommand` step.
So here I slightly changed the ModuleCache implementation to have a single `#getModuleClass` private helper, which can quickly check if we are in a "not root" -> "root" scenario and just return null early.

Follow up: I think some of the logic currently kept in the module cache should move to the MessageHandler, and the ModuleCache should only care about caching module classes/instances. All the destination-to-folder logic is really tied to handling commands, so that should be done by the base MessageHandler class. Or at least it should be closer to the `handleCommand` implementation.

Differential Revision: https://phabricator.services.mozilla.com/D177202
2023-05-05 13:38:21 +00:00
Julian Descottes 69e1106abb Bug 1831373 - [remote] Remove all logic from ModuleRegistry classes r=webdriver-reviewers,whimboo
Depends on D177180

Differential Revision: https://phabricator.services.mozilla.com/D177181
2023-05-05 13:38:21 +00:00
Julian Descottes ebaa1d12fb Bug 1831373 - [remote] Use a regular ModuleRegistry for MessageHandler browser mochitests r=webdriver-reviewers,whimboo
Depends on D177179

Differential Revision: https://phabricator.services.mozilla.com/D177180
2023-05-05 13:38:20 +00:00
Julian Descottes d74e496f4b Bug 1831373 - [remote] Fix sendRootCommand trying to reach root-in-windowglobal layer r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D177179
2023-05-05 13:38:20 +00:00
Alexandra Borovova d6cc667590 Bug 1731589 - [bidi] Use default realm from message handler in log module. r=webdriver-reviewers,jdescottes
Depends on D176393

Differential Revision: https://phabricator.services.mozilla.com/D176662
2023-05-04 06:47:09 +00:00
Mathew Hodson 5ee28fedd1 Bug 1830460 - Convert ComponentUtils.jsm to ESM. r=arai,webdriver-reviewers,webcompat-reviewers,credential-management-reviewers,devtools-reviewers,twisniewski,sgalich,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D176782
2023-05-03 15:18:46 +00:00
Julian Descottes fea56ca2b2 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 9fa2ad7bd9 Bug 1830404 - [remote] Rename transport helpers referring to frame r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D176713
2023-05-02 20:11:50 +00:00
Julian Descottes 111dd3a198 Bug 1829630 - [bidi] Throw explicit error for missing stacks in script module r=webdriver-reviewers,Sasha
Depends on D176353

Differential Revision: https://phabricator.services.mozilla.com/D176354
2023-04-27 16:53:29 +00:00
Julian Descottes 93f5685ca6 Bug 1829630 - [bidi] Use promiseAllocationSite as fallback to fetch rejected promise stacktrace r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D176353
2023-04-27 16:53:29 +00:00
Alexandra Borovova e170405d8b Bug 1788894 - Move Realm related logic from script module to the WindowGlobal message manager. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D176393
2023-04-27 14:04:39 +00:00
Narcis Beleuzu 1a51e46de2 Backed out 2 changesets (bug 1828816) for wpt failures on roles.html . CLOSED TREE
Backed out changeset a7c266597175 (bug 1828816)
Backed out changeset 5802edc7adc3 (bug 1828816)
2023-04-27 12:25:19 +03:00
James Teh 2bb008703c Bug 1828816 part 2: Marionette accessibility.getAccessible: If the requested Accessible doesn't exist, wait for it to be created. r=jdescottes,webdriver-reviewers,whimboo
Some tests dynamically add elements to the DOM.
Since accessibility updates occur in refresh driver ticks, the Accessible often wasn't created yet when WebDriver requested it, causing intermittent WPT failures.
See the code comments for an explanation of how this works.

Differential Revision: https://phabricator.services.mozilla.com/D175972
2023-04-27 04:50:34 +00:00
James Teh ae8b2a6eb0 Bug 1828816 part 1: Marionette sync.waitForObserverTopic: Support a timeout option. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175990
2023-04-27 04:50:34 +00:00