gecko-dev/remote/shared
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
..
messagehandler 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 Bug 1720070 - [remote] Only apply common preferences on the first call to applyPreferences r=webdriver-reviewers,whimboo 2021-07-14 16:54:29 +00:00
webdriver Bug 1722659 - [remote] Stop using singleton for MessageHandlerRegistry r=webdriver-reviewers,whimboo 2021-09-28 09:23:11 +00:00
Format.jsm Bug 1700392 - [remote] Replace usage of marionette format.js by remote/shared/Format.jsm r=webdriver-reviewers,whimboo 2021-07-27 19:03:29 +00:00
Log.jsm Bug 1719692 - [remote] Stop using MarionettePrefs.logLevel and use remote.log.level instead r=webdriver-reviewers,whimboo 2021-07-27 19:03:29 +00:00
RecommendedPreferences.jsm Bug 1731795 - [marionette] Disable dialog abuse time limit with RecommendedPreferences r=webdriver-reviewers,whimboo 2021-09-28 09:32:10 +00:00
Sync.jsm
TabManager.jsm
WebSocketConnection.jsm Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu 2021-09-10 12:09:49 +00:00
WindowManager.jsm Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu 2021-09-10 12:09:49 +00:00
moz.build Bug 1726800 - [remote] Use dedicated error class for command errors in MessageHandler r=webdriver-reviewers,whimboo 2021-10-12 16:48:42 +00:00