forked from mirrors/gecko-dev
- implement the new "inspected-window" command - move WebExtensionInspectedWindowFront implement to the command, making the front empty - migrate tests to use the commands instead of front - stop maintaining the current top level target in ExtensionParent.jsm, no longer have to use watchTargets - stop creating a new descriptor on each new target - instead only pull one new dedicated "commands" for WebExt (still in ExtensionParent.jsm) - remove TabDescriptor isDevToolsExtensionContext as we no longer need anything special in the descriptor - remove now unused methods on DevToolsShims (createWebExtensionInspectedWindowFront, createDescriptorForTabForWebExtension) - remove the now unused TabDescriptorFactory.createDescriptorForTab's "forceCreationForWebextension" option, as CommandsFactory.forTab always instantiate a brand new commands - migrate webext to use the command instead of front Differential Revision: https://phabricator.services.mozilla.com/D108994
34 lines
955 B
JavaScript
34 lines
955 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";
|
|
|
|
module.exports = {
|
|
extends: "../../../../toolkit/components/extensions/parent/.eslintrc.js",
|
|
|
|
globals: {
|
|
Tab: true,
|
|
TabContext: true,
|
|
Window: true,
|
|
actionContextMenu: true,
|
|
browserActionFor: true,
|
|
clickModifiersFromEvent: true,
|
|
getContainerForCookieStoreId: true,
|
|
getTargetTabIdForToolbox: true,
|
|
getToolboxEvalOptions: true,
|
|
isContainerCookieStoreId: true,
|
|
isPrivateCookieStoreId: true,
|
|
isValidCookieStoreId: true,
|
|
makeWidgetId: true,
|
|
openOptionsPage: true,
|
|
pageActionFor: true,
|
|
replaceUrlInTab: true,
|
|
searchInitialized: true,
|
|
sidebarActionFor: true,
|
|
tabGetSender: true,
|
|
tabTracker: true,
|
|
waitForTabLoaded: true,
|
|
windowTracker: true,
|
|
},
|
|
};
|