Move the permission observers in the background scripts

This commit is contained in:
Andrea Marchesini
2021-11-30 20:13:48 +01:00
committed by Lesley Norton
parent 1b165aebb5
commit c146a0bd11
6 changed files with 47 additions and 29 deletions
-6
View File
@@ -20,9 +20,6 @@ const messageHandler = {
case "resetSync":
response = sync.resetSync();
break;
case "resetBookmarksContext":
response = assignManager.resetBookmarksMenuItem();
break;
case "deleteContainer":
response = backgroundLogic.deleteContainer(m.message.userContextId);
break;
@@ -91,9 +88,6 @@ const messageHandler = {
true
);
break;
case "maybeAddProxyListeners":
response = await assignManager.maybeAddProxyListeners();
break;
case "assignAndReloadInContainer":
tab = await assignManager.reloadPageInContainer(
m.url,