Merge pull request #62 from LingandRX/hotfix/remove-unused-alarms

hotfix: remove unused alarms permission
This commit is contained in:
LingandRX
2026-06-02 19:10:26 +08:00
committed by GitHub
2 changed files with 0 additions and 8 deletions
-7
View File
@@ -152,13 +152,6 @@ const webExtensionMock = {
getAll: vi.fn().mockResolvedValue([]), getAll: vi.fn().mockResolvedValue([]),
remove: vi.fn().mockResolvedValue(undefined), remove: vi.fn().mockResolvedValue(undefined),
}, },
alarms: {
create: vi.fn().mockResolvedValue(undefined),
onAlarm: {
addListener: vi.fn(),
removeListener: vi.fn(),
},
},
contextMenus: { contextMenus: {
create: vi.fn(), create: vi.fn(),
onClicked: { onClicked: {
-1
View File
@@ -56,7 +56,6 @@ export default defineConfig({
'cookies', 'cookies',
'sidePanel', 'sidePanel',
'contextMenus', 'contextMenus',
'alarms',
], ],
host_permissions: ['<all_urls>'], host_permissions: ['<all_urls>'],
action: { action: {