Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / remote / webdriver-bidi / modules / ModuleRegistry.sys.mjs
blob366e2a33215d302e608fbf5f976c1a1e45c421df
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 export const modules = {
6   root: {},
7   "windowglobal-in-root": {},
8   windowglobal: {},
9 };
11 // eslint-disable-next-line mozilla/lazy-getter-object-name
12 ChromeUtils.defineESModuleGetters(modules.root, {
13   browser:
14     "chrome://remote/content/webdriver-bidi/modules/root/browser.sys.mjs",
15   browsingContext:
16     "chrome://remote/content/webdriver-bidi/modules/root/browsingContext.sys.mjs",
17   input: "chrome://remote/content/webdriver-bidi/modules/root/input.sys.mjs",
18   log: "chrome://remote/content/webdriver-bidi/modules/root/log.sys.mjs",
19   network:
20     "chrome://remote/content/webdriver-bidi/modules/root/network.sys.mjs",
21   permissions:
22     "chrome://remote/content/webdriver-bidi/modules/root/permissions.sys.mjs",
23   script: "chrome://remote/content/webdriver-bidi/modules/root/script.sys.mjs",
24   session:
25     "chrome://remote/content/webdriver-bidi/modules/root/session.sys.mjs",
26   storage:
27     "chrome://remote/content/webdriver-bidi/modules/root/storage.sys.mjs",
28 });
30 // eslint-disable-next-line mozilla/lazy-getter-object-name
31 ChromeUtils.defineESModuleGetters(modules["windowglobal-in-root"], {
32   browsingContext:
33     "chrome://remote/content/webdriver-bidi/modules/windowglobal-in-root/browsingContext.sys.mjs",
34   log: "chrome://remote/content/webdriver-bidi/modules/windowglobal-in-root/log.sys.mjs",
35   network:
36     "chrome://remote/content/webdriver-bidi/modules/windowglobal-in-root/network.sys.mjs",
37   script:
38     "chrome://remote/content/webdriver-bidi/modules/windowglobal-in-root/script.sys.mjs",
39 });
41 // eslint-disable-next-line mozilla/lazy-getter-object-name
42 ChromeUtils.defineESModuleGetters(modules.windowglobal, {
43   browsingContext:
44     "chrome://remote/content/webdriver-bidi/modules/windowglobal/browsingContext.sys.mjs",
45   input:
46     "chrome://remote/content/webdriver-bidi/modules/windowglobal/input.sys.mjs",
47   log: "chrome://remote/content/webdriver-bidi/modules/windowglobal/log.sys.mjs",
48   network:
49     "chrome://remote/content/webdriver-bidi/modules/windowglobal/network.sys.mjs",
50   script:
51     "chrome://remote/content/webdriver-bidi/modules/windowglobal/script.sys.mjs",
52 });