fune/remote/shared/messagehandler/test/browser/resources/modules/root/command.jsm
Henrik Skupin c5ab717192 Bug 1694144 - [WebDriver BiDi] Add basic support for session.subscribe command. r=webdriver-reviewers,jdescottes
This patch also includes the addition of the Module Registry,
which has been done by Julian Descottes <jdescottes@mozilla.com>.

Differential Revision: https://phabricator.services.mozilla.com/D122018
2021-08-12 11:52:48 +00:00

25 lines
516 B
JavaScript

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
const EXPORTED_SYMBOLS = ["command"];
const { Module } = ChromeUtils.import(
"chrome://remote/content/shared/messagehandler/Module.jsm"
);
class Command extends Module {
destroy() {}
/**
* Commands
*/
testRootModule() {
return "root-value";
}
}
const command = Command;