gecko-dev/remote
Masayuki Nakano cb448c5095 Bug 1685491 - part.1: Map typical commands to synthesized keyboard events for test on Linux and macOS r=smaug,remote-protocol-reviewers
Currently, we don't allow keyboard events synthesized for tests retrieve native
key bindings in content process.  However, due to this, we cannot test keyboard
navigation, deleting per word, etc on Linux and macOS either with mochitest
or WPT.  For making better compatibility with the other browsers, we should
write WPT more with the test driver.  Therefore, we should allow keyboard
events synthesized for tests retrieve native key bindings.

On the other hand, if we make them retrieve customized keyboard shortcuts
in the environment, some developers may not be able to run tests locally without
resetting their customization.  Therefore, this patch makes `NativeKeyBindings`
set "standard" shortcut keys on the platform instead of retrieving actual
shortcut key results.

If referring the default shortcut key bindings is not good thing for
WebDriver/CDP, perhaps, `TextInputProcessor` should have a new flag which can
refer customized shortcut keys even in content process.  But I think that it
should be done in another bug because some edit commands are mapped forcibly
like this patch.
https://searchfox.org/mozilla-central/rev/c03e8de87cdb0ce0378c0886d3c0ce8bbf9dc44e/remote/domains/parent/Input.jsm#82-102

Differential Revision: https://phabricator.services.mozilla.com/D102877
2021-02-02 03:02:30 +00:00
..
doc Bug 1672461 - [remote] Pin package dependencies when installing Puppeteer in Mozilla CI r=remote-protocol-reviewers,whimboo 2020-12-04 15:08:17 +00:00
domains Bug 1685491 - part.1: Map typical commands to synthesized keyboard events for test on Linux and macOS r=smaug,remote-protocol-reviewers 2021-02-02 03:02:30 +00:00
observers
server Bug 1687021: Allow connection header names to be case insensitive. r=remote-protocol-reviewers,whimboo 2021-01-29 08:17:38 +00:00
sessions
startup Bug 1669230 - [remote] Remove --remote-debugger command line argument. r=remote-protocol-reviewers,jgraham 2020-10-07 13:50:57 +00:00
targets Bug 1680740 - [remote] Implement Target.getTargets. r=remote-protocol-reviewers,maja_zf 2020-12-04 19:56:36 +00:00
test Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js 2021-01-30 04:01:21 +02:00
.gitignore
Cargo.toml Bug 1681935 - Replace dependency to failure with thiserror in remote crate. r=remote-protocol-reviewers,jgraham 2020-12-11 14:34:23 +00:00
Connection.jsm Bug 1680962 - [remote] sendResponse has to always return a result in the response payload. r=remote-protocol-reviewers,jdescottes 2020-12-07 14:01:17 +00:00
Error.jsm
Format.jsm
JSONHandler.jsm Bug 1675266 - [remote] Report correct browser name/version, and user agent string for "/json/version" httpd handler. r=remote-protocol-reviewers,maja_zf 2020-11-06 18:36:46 +00:00
Log.jsm
Protocol.jsm
README Bug 1669230 - [remote] Remove --remote-debugger command line argument. r=remote-protocol-reviewers,jgraham 2020-10-07 13:50:57 +00:00
RecommendedPreferences.jsm Bug 1680637 - Update tests using the old dialog UI to only use the old UI. r=jaws,Gijs,marionette-reviewers,whimboo,remote-protocol-reviewers 2021-01-14 21:45:14 +00:00
RemoteAgent.jsm Bug 1675266 - [remote] Add debuggerAddress as attribute on the Remote Agent interface. r=remote-protocol-reviewers,maja_zf 2020-11-06 18:36:49 +00:00
StreamRegistry.jsm
Sync.jsm
TabManager.jsm
WindowManager.jsm
components.conf
error.rs Bug 1681935 - Replace dependency to failure with thiserror in remote crate. r=remote-protocol-reviewers,jgraham 2020-12-11 14:34:23 +00:00
jar.mn
lib.rs Bug 1681935 - Replace dependency to failure with thiserror in remote crate. r=remote-protocol-reviewers,jgraham 2020-12-11 14:34:23 +00:00
mach_commands.py Bug 1683392 - [puppeteer] Use "npm ci" only when tests are run on TaskCluster. r=remote-protocol-reviewers,jdescottes 2021-02-01 10:59:38 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsIRemoteAgent.idl Bug 1675266 - [remote] Add debuggerAddress as attribute on the Remote Agent interface. r=remote-protocol-reviewers,maja_zf 2020-11-06 18:36:49 +00:00
puppeteer-expected.json Bug 1606604 - [remote] Disable experimental SameSite=Lax by default. r=remote-protocol-reviewers,jgraham 2020-12-22 12:54:55 +00:00
remote_agent.rs

README

The Firefox remote agent is a low-level debugging interface based
on the CDP protocol.

With it, you can inspect the state and control execution of documents
running in web content, instrument Gecko in interesting ways,
simulate user interaction for automation purposes, and debug
JavaScript execution.

This component provides an experimental and partial implementation
of a remote devtools interface using the CDP protocol and transport
layer.

See https://firefox-source-docs.mozilla.org/remote/ for documentation.

It is available in Firefox Nightly and is started this way:

	% ./mach run --remote-debugging-port