tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ModuleRegistry.sys.mjs (2856B)


      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/. */
      4 
      5 export const modules = {
      6  root: {
      7    moz: {},
      8  },
      9  "windowglobal-in-root": {
     10    moz: {},
     11  },
     12  windowglobal: {
     13    moz: {},
     14  },
     15 };
     16 
     17 // eslint-disable-next-line mozilla/lazy-getter-object-name
     18 ChromeUtils.defineESModuleGetters(modules.root, {
     19  browser:
     20    "chrome://remote/content/webdriver-bidi/modules/root/browser.sys.mjs",
     21  browsingContext:
     22    "chrome://remote/content/webdriver-bidi/modules/root/browsingContext.sys.mjs",
     23  emulation:
     24    "chrome://remote/content/webdriver-bidi/modules/root/emulation.sys.mjs",
     25  input: "chrome://remote/content/webdriver-bidi/modules/root/input.sys.mjs",
     26  log: "chrome://remote/content/webdriver-bidi/modules/root/log.sys.mjs",
     27  network:
     28    "chrome://remote/content/webdriver-bidi/modules/root/network.sys.mjs",
     29  permissions:
     30    "chrome://remote/content/webdriver-bidi/modules/root/permissions.sys.mjs",
     31  script: "chrome://remote/content/webdriver-bidi/modules/root/script.sys.mjs",
     32  session:
     33    "chrome://remote/content/webdriver-bidi/modules/root/session.sys.mjs",
     34  storage:
     35    "chrome://remote/content/webdriver-bidi/modules/root/storage.sys.mjs",
     36  webExtension:
     37    "chrome://remote/content/webdriver-bidi/modules/root/webExtension.sys.mjs",
     38 });
     39 
     40 // eslint-disable-next-line mozilla/lazy-getter-object-name
     41 ChromeUtils.defineESModuleGetters(modules["windowglobal-in-root"], {
     42  browsingContext:
     43    "chrome://remote/content/webdriver-bidi/modules/windowglobal-in-root/browsingContext.sys.mjs",
     44  input:
     45    "chrome://remote/content/webdriver-bidi/modules/windowglobal-in-root/input.sys.mjs",
     46  log: "chrome://remote/content/webdriver-bidi/modules/windowglobal-in-root/log.sys.mjs",
     47  network:
     48    "chrome://remote/content/webdriver-bidi/modules/windowglobal-in-root/network.sys.mjs",
     49  script:
     50    "chrome://remote/content/webdriver-bidi/modules/windowglobal-in-root/script.sys.mjs",
     51 });
     52 
     53 // eslint-disable-next-line mozilla/lazy-getter-object-name
     54 ChromeUtils.defineESModuleGetters(modules.windowglobal, {
     55  _configuration:
     56    "chrome://remote/content/webdriver-bidi/modules/windowglobal/_configuration.sys.mjs",
     57  browsingContext:
     58    "chrome://remote/content/webdriver-bidi/modules/windowglobal/browsingContext.sys.mjs",
     59  emulation:
     60    "chrome://remote/content/webdriver-bidi/modules/windowglobal/emulation.sys.mjs",
     61  input:
     62    "chrome://remote/content/webdriver-bidi/modules/windowglobal/input.sys.mjs",
     63  log: "chrome://remote/content/webdriver-bidi/modules/windowglobal/log.sys.mjs",
     64  network:
     65    "chrome://remote/content/webdriver-bidi/modules/windowglobal/network.sys.mjs",
     66  script:
     67    "chrome://remote/content/webdriver-bidi/modules/windowglobal/script.sys.mjs",
     68 });