Name Description Size
command-line-handler.js eslint-disable-line 1247
Connection.jsm @param WebSocketDebuggerTransport transport @param httpd.js's Connection httpdConnection 3158
doc 8
domains 8
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} 3393
jar.mn 2676
JSONHandler.jsm 2183
Log.jsm E10s compatible wrapper for the standard logger from Log.jsm. 1058
moz.build 1469
Observer.jsm 842
pref 2
Protocol.jsm 769709
README The Firefox remote agent is a low-level debugging interface based 687
RecommendedPreferences.jsm 983
RemoteAgent.jsm 6228
RemoteAgent.manifest 212
server These files provide functionality for serving and responding to HTTP 4
sessions 4
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} 3167
targets 4
test 5
WindowManager.jsm The WindowManager provides tooling for application-agnostic observation of windows, tabs, and content browsers as they are created and destroyed. 4193