Name Description Size
Cargo.toml 333
Connection.jsm @param WebSocketTransport transport @param httpd.js's Connection httpdConnection 9801
Error.jsm Takes a serialised CDP error and reconstructs it as a RemoteAgentError. The error must be of this form: {"message": "TypeError: foo is not a function\n execute@chrome://remote/content/sessions/Session.jsm:73:39\n onMessage@chrome://remote/content/sessions/TabSession.jsm:65:20"} This approach has the notable deficiency that it cannot deal with causes to errors because of the unstructured nature of CDP errors. A possible future improvement would be to extend the error serialisation to include discrete fields for each data property. @param {Object} json CDP error encoded as a JSON object, which must have a "message" field, where the first line will make out the error message and the subsequent lines the stacktrace. @return {RemoteAgentError} 3560
Format.jsm Pretty-print values passed to template strings. Usage:: let bool = {value: true}; pprint`Expected boolean, got ${bool}`; => 'Expected boolean, got [object Object] {"value": true}' let htmlElement = document.querySelector("input#foo"); pprint`Expected element ${htmlElement}`; => 'Expected element <input id="foo" class="bar baz" type="input">' pprint`Current window: ${window}`; => '[object Window https://www.mozilla.org/]' 5032
JSONHandler.jsm 2248
Log.jsm E10s compatible wrapper for the standard logger from Log.jsm. 1062
Protocol.jsm 769975
README The Firefox remote agent is a low-level debugging interface based 618
RecommendedPreferences.jsm 987
RemoteAgent.jsm 4741
StreamRegistry.jsm Add a new stream to the registry. @param {OS.File} stream Instance of the stream to add. @return {string} Stream handle (uuid) 2903
Sync.jsm Wait for a single event to be fired on a specific EventListener. The returned promise is guaranteed to not be called before the next event tick after the event listener is called, so that all other event listeners for the element are executed before the handler is executed. For example: const promise = new EventPromise(element, "myEvent"); // same event tick here await promise; // next event tick here @param {EventListener} listener Object which receives a notification (an object that implements the Event interface) when an event of the specificed type occurs. @param {string} type Case-sensitive string representing the event type to listen for. @param {boolean?} [false] options.capture Indicates the event will be despatched to this subject, before it bubbles down to any EventTarget beneath it in the DOM tree. @param {boolean?} [false] options.wantsUntrusted Receive synthetic events despatched by web content. @param {boolean?} [false] options.mozSystemGroup Determines whether to add listener to the system group. @return {Promise.<Event>} @throws {TypeError} 6229
TabManager.jsm 851
WindowManager.jsm 728
components.conf 758
doc 11
domains 7
error.rs 2113
jar.mn 3651
lib.rs 521
mach_commands.py The remote subcommands all relate to the remote protocol. 21292
moz.build 1496
nsIRemoteAgent.idl The Gecko remote agent is an RPC subsystem that exposes browser-internal interfaces and services to the surrounding system. Consumers, whether remote or browser-local, can interface with the browser through an assorted set of services ranging from document introspection and script evaluation, to instrumentation, user interaction simulation, and event subscription. 2135
observers 4
puppeteer-expected.json 72428
remote_agent.rs Rust interface for the Gecko remote agent. 2242
server These files provide functionality for serving and responding to HTTP 3
sessions 5
startup 5
targets 4
test 4
.gitignore 94