Source code

Revision control

Copy as Markdown

Other Tools

/* 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";
extensions.registerModules({
devtools: {
scopes: ["devtools_child"],
paths: [["devtools"]],
},
devtools_inspectedWindow: {
scopes: ["devtools_child"],
paths: [["devtools", "inspectedWindow"]],
},
devtools_panels: {
scopes: ["devtools_child"],
paths: [["devtools", "panels"]],
},
devtools_network: {
scopes: ["devtools_child"],
paths: [["devtools", "network"]],
},
// Because of permissions, the module name must differ from both namespaces.
menusInternal: {
scopes: ["addon_child"],
paths: [["contextMenus"], ["menus"]],
},
menusChild: {
scopes: ["addon_child", "devtools_child"],
paths: [["menus"]],
},
omnibox: {
scopes: ["addon_child"],
paths: [["omnibox"]],
},
tabs: {
scopes: ["addon_child"],
paths: [["tabs"]],
},
});