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

118 Коммитов

Автор SHA1 Сообщение Дата
Alexandra Borovova 1239032745 Bug 1824224 - [bidi] Implement "browsingContext.userPromptOpened" event. r=webdriver-reviewers,whimboo,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D186017
2023-08-18 17:49:09 +00:00
Julian Descottes 563fb2970d Bug 1847736 - [remote] Create URLPattern module to match simple url patterns r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D185452
2023-08-16 11:49:37 +00:00
Alexandra Borovova 6fe020452c Bug 1824197 - Move Modal class to a shared module and rename it to Prompt. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D185552
2023-08-15 08:10:10 +00:00
Julian Descottes 032421146e Bug 1841010 - [remote] Add a NavigationManager to monitor navigations using JSWindowActors r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D180440
2023-07-20 11:33:18 +00:00
Mark Banner b63f2ba7f9 Bug 1837176 - Converting httpd.js to an ES module. r=necko-reviewers,webdriver-reviewers,valentin,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D181158
2023-07-12 13:38:34 +00:00
Alexandra Borovova 86a079c36f Bug 1829334 - [marionette] Move browser quit logic into shared module. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D181774
2023-07-07 10:50:06 +00:00
Henrik Skupin c8ac684a9b Bug 1830884 - [remote] Make element.sys.mjs a shared module for remote and separate out Marionette specific code. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D177493
2023-06-12 08:53:05 +00:00
michaelshum321 20e77a0edd Bug 1787997 - Refactor remote UUID Usage to a Shared UUID Module r=jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178727
2023-05-25 07:36:22 +00: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 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
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
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
Natalia Csoregi 547c9f911f Backed out changeset a24a3cdae60f (bug 1788894) for causing wd failures on script.sys.mjs. CLOSED TREE 2023-04-26 13:14:39 +03:00
Alexandra Borovova ba00cf8dda 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-26 08:20:09 +00:00
James Graham 5562f02a7c Bug 1792090 - Move action module to remote/shared/webdriver r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D157970
2023-03-30 15:23:17 +00:00
Henrik Skupin 88445f5567 Bug 1692468 - [marionette] Move Element Reference store as node cache into content process. r=jgraham,webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D151258
2023-01-01 20:24:02 +00:00
Julian Descottes 7d99823762 Bug 1790368 - [bidi] Implement basic support for network.beforeRequestSent event r=webdriver-reviewers,Sasha,whimboo
Depends on D164147

Differential Revision: https://phabricator.services.mozilla.com/D162037
2022-12-16 10:53:50 +00:00
Stanca Serban 501e1a40b6 Backed out 4 changesets (bug 1790368) for causing mochitests failures in browser_networkobserver_invalid_constructor.js. CLOSED TREE
Backed out changeset b04c179c53fb (bug 1790368)
Backed out changeset a50e9467f30b (bug 1790368)
Backed out changeset 8b438fe8bd72 (bug 1790368)
Backed out changeset 6df64c2927f1 (bug 1790368)
2022-12-16 12:11:47 +02:00
Julian Descottes 3f84a23c66 Bug 1790368 - [bidi] Implement basic support for network.beforeRequestSent event r=webdriver-reviewers,Sasha,whimboo
Depends on D164147

Differential Revision: https://phabricator.services.mozilla.com/D162037
2022-12-16 09:30:39 +00:00
James Graham 5e0b15ac19 Bug 1800086 - Move capture.sys.mjs to shared module, r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D161801
2022-12-12 13:44:50 +00:00
Julian Descottes bf82c5039a Bug 1790468 - [remote] Convert /remote/server JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158294

Differential Revision: https://phabricator.services.mozilla.com/D158295
2022-09-30 11:08:07 +00:00
Julian Descottes b24d46c99d Bug 1790468 - [remote] Convert /remote/components JSM modules to ESM r=webdriver-reviewers,whimboo
Depends on D158293

Differential Revision: https://phabricator.services.mozilla.com/D158294
2022-09-30 11:08:07 +00:00
Julian Descottes d1f7dbe55e 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
Henrik Skupin 16d96ac3fd Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 11:58:44 +00:00
Marian-Vasile Laza 27fd1e9739 Backed out 2 changesets (bug 1789357, bug 1506782) for causing xpcshell failures on test_Capabilities.js. CLOSED TREE
Backed out changeset 144d4be497c6 (bug 1506782)
Backed out changeset 0884729fca31 (bug 1789357)
2022-09-09 12:34:02 +03:00
Henrik Skupin 3246749215 Bug 1789357 - [remote] Make AppInfo a shared class for remote protocols. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D156745
2022-09-09 08:55:33 +00:00
Julian Descottes 75eac83967 Bug 1770492 - [messagehandler] Support emitting protocol errors from MessageHandler modules r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D151034
2022-07-12 16:19:30 +00:00
Alexandra Borovova ad907ed4fb Bug 1723137: Create a shared module for PDF creation. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D143449
2022-04-12 13:26:11 +00:00
Julian Descottes e3c22ecafc Bug 1730642 - [remote] Extract internal event logic to a dedicated class r=webdriver-reviewers,whimboo
Depends on D142513

Differential Revision: https://phabricator.services.mozilla.com/D142514
2022-04-07 13:27:25 +00:00
Julian Descottes 3e305ab637 Bug 1756809 - [remote] Emit DOMContentLoaded as an internal event from WindowGlobalMessageHandler r=webdriver-reviewers,whimboo
Depends on D140343

Differential Revision: https://phabricator.services.mozilla.com/D138900
2022-03-04 18:54:19 +00:00
James Graham a7d07bbe8d Bug 1686666 - Make marionette events use EventUtil.js directly, r=webdriver-reviewers,whimboo
Rather than copying over the code from EventUtils, load EventUtils.js
into event.js. This is slightly complicated by the fact that
EventUtils.js depends on the existence of a global named `window`. So
instead of loading the script as a normal component, we need to use
`loadSubScript` to create an instance of the script with the required
window binding (this is similar to the approach the CDP module uses).

The actual API changes for mouse events are ~trivial, but for key
events things are a little more involved. The code previously (in
effect) called synthesizeKey with the virtual keycode as the aKey
argument. However EventUtils.js documents this as deprecated, so we
switch to providing the actual key, with the `KEY_` prefix for
non-printable characters.

To make this easier, all the data about various keys from the
WebDriver spec is collapsed into a single lookup table, rather than
having a table for each interesting property.

Differential Revision: https://phabricator.services.mozilla.com/D138449
2022-02-25 18:12:11 +00:00
Henrik Skupin af05588aaf Bug 1694389 - [webdriver-bidi] Add support for "browsingContext.contextCreated" event. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D134267
2022-02-14 05:47:55 +00:00
Julian Descottes 892ae10673 Bug 1747222 - [remote] Move browsing context APIs from browser.js and WindowManager to TabManager r=webdriver-reviewers,whimboo
Depends on D135414

Differential Revision: https://phabricator.services.mozilla.com/D135415
2022-01-14 21:19:53 +00:00
Henrik Skupin 0ae2105fde Bug 1739369 - [marionette] Move wait for initial page load logic into shared navigate module. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D134541
2022-01-07 21:28:33 +00:00
Julian Descottes 78e5eb0c46 Bug 1742491 - [remote] Filter out parent process frames in MessageHandlerFrameChild r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D131897
2021-12-17 09:48:50 +00:00
Henrik Skupin 2973a301fe Bug 1731553 - [remote] Add shared module to handle stack frames. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D133087
2021-12-09 20:24:09 +00:00
Julian Descottes a9e76a12f8 Bug 1694145 - [webdriver-bidi] Extract console api observer to dedicated listener class r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D132150
2021-12-02 19:21:44 +00:00
Henrik Skupin 181a586c49 Bug 1731548 - [webdriver-bidi] Add "JavascriptLogEntry" support to log.entryAdded event. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D132063
2021-11-26 12:45:45 +00:00
Julian Descottes e788f6a08c Bug 1713443 - [remote] Support shared global session data that supports BiDi and CDP r=webdriver-reviewers,whimboo,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D127698
2021-11-11 22:01:46 +00:00
Cristian Tuns 24fac1ad31 Backed out changeset 0e2ff229163c (bug 1713443) for causing mochitest(SessionDataReader.jsm) and remote(browser_session_data.js) failures. CLOSED TREE 2021-11-10 12:41:51 -05:00
Julian Descottes 0a8f6d458f Bug 1713443 - [remote] Support shared global session data that supports BiDi and CDP r=webdriver-reviewers,whimboo,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D127698
2021-11-10 16:45:20 +00:00
Julian Descottes 773ea0006d Bug 1726800 - [remote] Use dedicated error class for command errors in MessageHandler r=webdriver-reviewers,whimboo
Add a dedicated Errors module to remote/shared/messagehandler, similar to shared/webdriver/Errors.jsm
Errors thrown from content process MessageHandler are serialized before being forwarded to the parent process.

We should probably make all errors inherit from a generic RemoteError class which would support the same serialization/deserialization API

Differential Revision: https://phabricator.services.mozilla.com/D127620
2021-10-12 16:48:42 +00:00
Julian Descottes 5d36dcd33d Bug 1722659 - [remote] Stop using singleton for MessageHandlerRegistry r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D123190
2021-09-28 09:23:11 +00:00
Henrik Skupin c5ab717192 Bug 1694144 - [WebDriver BiDi] Add basic support for session.subscribe command. r=webdriver-reviewers,jdescottes
This patch also includes the addition of the Module Registry,
which has been done by Julian Descottes <jdescottes@mozilla.com>.

Differential Revision: https://phabricator.services.mozilla.com/D122018
2021-08-12 11:52:48 +00:00
Brindusan Cristian fc44521a67 Backed out 5 changesets (bug 1694144, bug 1724227) for causing bc failures in browser_all_files_referenced.js.
CLOSED TREE

Backed out changeset 34b56695cd5c (bug 1694144)
Backed out changeset c3cf28582710 (bug 1694144)
Backed out changeset d3bfdc6c788d (bug 1724227)
Backed out changeset 118ad1445b60 (bug 1694144)
Backed out changeset 9fb6c43c144d (bug 1694144)
2021-08-11 21:55:59 +03:00
Henrik Skupin 42f6a8c709 Bug 1694144 - [WebDriver BiDi] Add basic support for session.subscribe command. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D122018
2021-08-11 17:52:30 +00:00
Henrik Skupin c27e9e4c4a Bug 1720676 - [marionette] Move component registration into components.conf. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D121095
2021-07-30 10:44:48 +00:00
Julian Descottes 3f17d3f303 Bug 1713439 - [remote] Add basic MessageHandler support for window global contexts r=webdriver-reviewers,whimboo,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D119780
2021-07-30 08:17:48 +00:00
Noemi Erli a5ebee57bb Backed out 2 changesets (bug 1720676) for causing remote failures CLOSED TREE
Backed out changeset 3c2599c00332 (bug 1720676)
Backed out changeset b58937c59f63 (bug 1720676)
2021-07-30 00:21:00 +03:00
Henrik Skupin 38d311bf45 Bug 1720676 - [marionette] Move component registration into components.conf. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D121095
2021-07-29 19:31:43 +00:00