summaryrefslogtreecommitdiffstats
path: root/devtools/client/aboutdebugging/src/actions/debug-targets.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/aboutdebugging/src/actions/debug-targets.js')
-rw-r--r--devtools/client/aboutdebugging/src/actions/debug-targets.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/devtools/client/aboutdebugging/src/actions/debug-targets.js b/devtools/client/aboutdebugging/src/actions/debug-targets.js
index 9ac3bee3b5..fa768c3d22 100644
--- a/devtools/client/aboutdebugging/src/actions/debug-targets.js
+++ b/devtools/client/aboutdebugging/src/actions/debug-targets.js
@@ -7,7 +7,7 @@
const { AddonManager } = ChromeUtils.importESModule(
"resource://gre/modules/AddonManager.sys.mjs",
// AddonManager is a singleton, never create two instances of it.
- { loadInDevToolsLoader: false }
+ { global: "shared" }
);
const {
remoteClientManager,
@@ -133,7 +133,7 @@ function installTemporaryExtension() {
const message = l10n.getString(
"about-debugging-tmp-extension-install-message"
);
- return async ({ dispatch, getState }) => {
+ return async ({ dispatch }) => {
dispatch({ type: TEMPORARY_EXTENSION_INSTALL_START });
const file = await openTemporaryExtension(window, message);
try {
@@ -146,7 +146,7 @@ function installTemporaryExtension() {
}
function pushServiceWorker(id, registrationFront) {
- return async ({ dispatch, getState }) => {
+ return async () => {
try {
// The push button is only available if canDebugServiceWorkers is true.
// With this configuration, `push` should always be called on the