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
Henrik Skupin
8cb90829cc
Bug 1690474 - [remote] Move CDP specific code to cdp/. r=remote-protocol-reviewers,jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D104574
2021-02-14 14:24:27 +00:00
Henrik Skupin
d461492d57
Bug 1690468
- [remote] Move Remote Agent component related files to components/. r=remote-protocol-reviewers,jgraham,mak
...
Differential Revision: https://phabricator.services.mozilla.com/D104159
2021-02-08 12:34:37 +00:00
Henrik Skupin
a82f8b1b2d
Bug 1690472 - [remote] Move sharable top-level JS modules to shared/ subfolder. r=remote-protocol-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D103944
2021-02-06 16:27:01 +00:00
Bogdan Tara
bbc8af695c
Backed out 3 changesets (bug 1690472, bug 1690469, bug 1690468
) for browser_Troubleshoot.js failures CLOSED TREE
...
Backed out changeset a8552dfa3009 (bug 1690469)
Backed out changeset dccc9af2fd2d (bug 1690468
)
Backed out changeset 3f2817c73dff (bug 1690472)
2021-02-05 18:15:26 +02:00
Henrik Skupin
ffff48e5b5
Bug 1690468
- [remote] Move Remote Agent component related files to components/. r=remote-protocol-reviewers,jgraham
...
Depends on D103944
Differential Revision: https://phabricator.services.mozilla.com/D104159
2021-02-05 15:07:33 +00:00
Henrik Skupin
1a93388c50
Bug 1690472 - [remote] Move sharable top-level JS modules to shared/ subfolder. r=remote-protocol-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D103944
2021-02-05 16:03:15 +00:00
Bogdan Tara
ad1e568c64
Backed out 3 changesets (bug 1690472, bug 1690469, bug 1690468
) for test_Sync.js failures CLOSED TREE
...
Backed out changeset a997c2b34b36 (bug 1690469)
Backed out changeset fc757eec91bd (bug 1690468
)
Backed out changeset b60bf057d62f (bug 1690472)
2021-02-05 17:02:21 +02:00
Henrik Skupin
7cb9dcf75e
Bug 1690468
- [remote] Move Remote Agent component related files to components/. r=remote-protocol-reviewers,jgraham
...
Depends on D103944
Differential Revision: https://phabricator.services.mozilla.com/D104159
2021-02-05 13:23:40 +00:00
Henrik Skupin
696ff9be8a
Bug 1690472 - [remote] Move sharable top-level JS modules to shared/ subfolder. r=remote-protocol-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D103944
2021-02-05 13:21:03 +00:00
Henrik Skupin
06d9e227d0
Bug 1634029 - [remote] Re-organize observer modules into a single directory. r=remote-protocol-reviewers,maja_zf
...
To better keep track of available observer classes
it's better to have them all in the same folder.
While moving files around the patch also renames
the TabObserver module to TargetObserver, which
would allow us to add target observers for workers
in the future.
Differential Revision: https://phabricator.services.mozilla.com/D73042
2020-04-30 00:33:25 +00:00
Maja Frydrychowicz
2536ddcb74
Bug 1614108 - Truncate Remote Agent log messages; r=remote-protocol-reviewers,whimboo
...
Copy format module from Marionette.
Differential Revision: https://phabricator.services.mozilla.com/D62344
--HG--
extra : moz-landing-system : lando
2020-02-15 08:22:56 +00:00
Henrik Skupin
15e30b89a5
Bug 1607461 - [remote] Implement Network.setCacheDisabled. r=remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D58996
--HG--
extra : moz-landing-system : lando
2020-01-08 12:40:49 +00:00
Andreas Tolfsen
4ff0799afe
bug 1565164: remote: rename Domains DomainCache r=remote-protocol-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D58610
--HG--
rename : remote/domains/Domains.jsm => remote/domains/DomainCache.jsm
rename : remote/test/unit/test_Domains.js => remote/test/unit/test_DomainCache.js
extra : moz-landing-system : lando
2020-01-06 09:32:11 +00:00
Andreas Tolfsen
112d47f40c
bug 1565164: remote: rename Targets TargetList r=remote-protocol-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D58609
--HG--
rename : remote/targets/Targets.jsm => remote/targets/TargetList.jsm
extra : moz-landing-system : lando
2020-01-06 09:32:09 +00:00
Henrik Skupin
5a966347fc
Bug 1600053 - [remote] Implement IO.read. r=remote-protocol-reviewers,baku,ato,maja_zf
...
This patch implements the IO.read() method to allow
reading streams for files and blobs.
Therefor all the methods in the IO domain need a registry
for streams. Those have to be stored globally because
they need to be kept existent across different client
connections.
Differential Revision: https://phabricator.services.mozilla.com/D55968
--HG--
extra : moz-landing-system : lando
2019-12-16 16:17:59 +00:00
Henrik Skupin
162084495c
Bug 1600053 - [remote] Add registry for managing references to streams. r=remote-protocol-reviewers,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D57304
--HG--
extra : moz-landing-system : lando
2019-12-16 16:17:47 +00:00
Andreas Tolfsen
36f394af15
bug 1543115: remote, toolkit: bootstrap from Rust; r=remote-protocol-reviewers,maja_zf
...
This bootstraps the remote agent from Rust so that we have access
to write to stderr using the eprintln!() macro. There is a future
intention to expand Rust usage in the remote agent by delegating
CDP and WebDriver Bi-Di protocol schema validation to serde.
The Rust port is faithful to the JS version in terms of functionality,
and in some places improves on the original design by enforcing
a strict division between flag handling code on one hand, and the
remote agent server on the other.
Differential Revision: https://phabricator.services.mozilla.com/D50289
--HG--
extra : moz-landing-system : lando
2019-11-22 08:03:21 +00:00
Henrik Skupin
727713505e
Bug 1595697 - [remote] Implement basic support for Emulation.setUserAgentOverride. r=remote-protocol-reviewers,maja_zf
...
This patch implements setting the user agent only. Support for
accepted language, and platform will be done in a follow-up bug.
Differential Revision: https://phabricator.services.mozilla.com/D52831
--HG--
extra : moz-landing-system : lando
2019-11-18 10:07:38 +00:00