gecko-dev/remote/webdriver-bidi
Julian Descottes 69fa6f5492 Bug 1726800 - [remote] Verify commands as early as possible in MessageHandler r=webdriver-reviewers,whimboo
Depends on D123655
With this patch, the MessageHandler can immediately check if a command is implemented by the modules, and therefore reject as early as possible.
This is implemented via a checkCommand method on MessageHandler.

Other required changes:
- ModuleRegistry now owns the logic to import BiDi modules.
- ModuleCache exposes a `getAllModuleClasses` to get all the relevant modules for a moduleName+destination pair.

Error messages have been improved and are verified with a dedicated test

Differential Revision: https://phabricator.services.mozilla.com/D123655
2021-10-12 16:48:43 +00:00
..
modules Bug 1726800 - [remote] Verify commands as early as possible in MessageHandler r=webdriver-reviewers,whimboo 2021-10-12 16:48:43 +00:00
test/xpcshell
NewSessionHandler.jsm
WebDriverBiDi.jsm Bug 1720676 - [remote] Remove Remote Agent's Rust implementation. r=webdriver-reviewers,jdescottes 2021-07-30 10:44:48 +00:00
WebDriverBiDiConnection.jsm Bug 1694144 - [WebDriver BiDi] Add basic support for session.subscribe command. r=webdriver-reviewers,jdescottes 2021-08-12 11:52:48 +00:00
jar.mn Bug 1694143 - [remote] Add log module and support log.entryAdded event r=webdriver-reviewers,whimboo 2021-09-09 20:37:58 +00:00
moz.build