As we add more behaviors to EventManager, the signature of the constructor is going to get really clumsy. Head that off by converting it to take a general parameters object. This introduces a compatibility problem for existing webextension experiments, put in a backward-compatibility shim for now. MozReview-Commit-ID: 72QDfiwRm5j
29 lines
748 B
JavaScript
29 lines
748 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
"extends": "../../../../toolkit/components/extensions/parent/.eslintrc.js",
|
|
|
|
"globals": {
|
|
"Tab": true,
|
|
"TabContext": true,
|
|
"Window": true,
|
|
"actionContextMenu": true,
|
|
"browserActionFor": true,
|
|
"getContainerForCookieStoreId": true,
|
|
"getDevToolsTargetForContext": true,
|
|
"getInspectedWindowFront": true,
|
|
"getTargetTabIdForToolbox": true,
|
|
"getToolboxEvalOptions": true,
|
|
"isContainerCookieStoreId": true,
|
|
"isPrivateCookieStoreId": true,
|
|
"isValidCookieStoreId": true,
|
|
"makeWidgetId": true,
|
|
"openOptionsPage": true,
|
|
"pageActionFor": true,
|
|
"sidebarActionFor": true,
|
|
"tabGetSender": true,
|
|
"tabTracker": true,
|
|
"windowTracker": true,
|
|
},
|
|
};
|