fune/browser/components/extensions/parent/.eslintrc.js
Alexandre Poirot c8f91a99da Bug 1699493 - [devtools] Migrate WebExtInspectedWindow front to a command. r=nchevobbe,rpl
- 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
2021-04-01 10:31:43 +00:00

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,
},
};