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
Csoregi Natalia
e8cf092efc
Backed out 2 changesets (bug 1720676) for remote fails on browser_agent.js. CLOSED TREE
...
Backed out changeset 93a9c870d3d8 (bug 1720676)
Backed out changeset f915c04b9c35 (bug 1720676)
2021-07-29 21:30:57 +03:00
Henrik Skupin
5d0d08b2c2
Bug 1720676 - [marionette] Move component registration into components.conf. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D121095
2021-07-29 16:14:08 +00:00
Henrik Skupin
10c712a65e
Bug 1721327 - [remote] Share Marionette's assertion module with WebDriver BiDi. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D120303
2021-07-21 09:45:06 +00:00
Julian Descottes
29d8d69939
Bug 1693803 - [remote] Use a shared RecommendedPreferences module for remote protocols r=webdriver-reviewers,whimboo
...
Depends on D119072
Differential Revision: https://phabricator.services.mozilla.com/D119073
2021-07-08 08:12:53 +00:00
Henrik Skupin
1916d90363
Bug 1693802 - [remote] Refactor Connection module to be used by CDP and WebDriver BiDi. r=webdriver-reviewers,jdescottes
...
The patch extracts common code that can be re-used
by both the CDP, and the upcoming WebDriver BiDi
protocol.
Differential Revision: https://phabricator.services.mozilla.com/D119108
2021-07-06 13:41:00 +00:00
Dorel Luca
e35e918938
Backed out changeset 4e17aba743f7 (bug 1693802) for XPCshell failures in chrome://remote/content/cdp/CDPConnection.jsm. CLOSED TREE
2021-07-06 11:05:31 +03:00
Henrik Skupin
f65529ebbb
Bug 1693802 - [remote] Refactor Connection module to be used by CDP and WebDriver BiDi. r=webdriver-reviewers,jdescottes
...
The patch extracts common code that can be re-used
by both the CDP, and the upcoming WebDriver BiDi
protocol.
Differential Revision: https://phabricator.services.mozilla.com/D119108
2021-07-06 07:06:51 +00:00
Henrik Skupin
f5a13d6348
Bug 1691481 - [remote] Share Marionette's errors module with WebDriver BiDi. r=webdriver-reviewers,jdescottes
...
The WebDriver BiDi specification relies on the same
error types as WebDriver HTTP. As such the existing
module needs to be shared.
Differential Revision: https://phabricator.services.mozilla.com/D117650
2021-06-21 12:53:48 +00:00
Henrik Skupin
462be88d17
Bug 1691414 - [remote] Extract WebDriver capabilities specific classes into their own Capability module. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D117128
2021-06-09 08:19:01 +00:00
Henrik Skupin
ff9ce95707
Bug 1691414 - [remote] Share WebDriver session between Marionette and WebDriver BiDi. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D117127
2021-06-09 08:19:00 +00:00
Dorel Luca
da37bdef95
Backed out 2 changesets (bug 1691414) for Documentation failures. CLOSED TREE
...
Backed out changeset ae8cc0a1bb6b (bug 1691414)
Backed out changeset 6df75d4ea57e (bug 1691414)
2021-06-08 23:54:59 +03:00
Henrik Skupin
e6deaa6109
Bug 1691414 - [remote] Extract WebDriver capabilities specific classes into their own Capability module. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D117128
2021-06-08 19:21:59 +00:00
Henrik Skupin
12e5e867eb
Bug 1691414 - [remote] Share WebDriver session between Marionette and WebDriver BiDi. r=webdriver-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D117127
2021-06-08 19:21:58 +00:00
Julian Descottes
628a0fbaa3
Bug 1714348 - [remote] Create dedicated jar.mn in remote/cdp r=webdriver-reviewers,whimboo
...
Depends on D116732
Move all CDP files from remote/jar.mn to a new remote/cdp/jar.mn to mirror what is done for marionette in D116732
Differential Revision: https://phabricator.services.mozilla.com/D116950
2021-06-07 10:08:24 +00:00
Henrik Skupin
555beb9ea5
Bug 1712902 - [remote] Conditionally start CDP when protocol is marked as active. r=remote-protocol-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D116415
2021-06-01 19:41:01 +00:00