diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:39:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:39:21 +0000 |
commit | a37d6265ace44d9abf95b01ac4837be722d89896 (patch) | |
tree | e8fa4e5590dad0cfb5aec19385a34989aa457dbe /toolkit/components/extensions/Extension.sys.mjs | |
parent | Adding debian version 115.10.0esr-1. (diff) | |
download | firefox-esr-a37d6265ace44d9abf95b01ac4837be722d89896.tar.xz firefox-esr-a37d6265ace44d9abf95b01ac4837be722d89896.zip |
Merging upstream version 115.11.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/extensions/Extension.sys.mjs')
-rw-r--r-- | toolkit/components/extensions/Extension.sys.mjs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/components/extensions/Extension.sys.mjs b/toolkit/components/extensions/Extension.sys.mjs index caff299eb6..e773745c65 100644 --- a/toolkit/components/extensions/Extension.sys.mjs +++ b/toolkit/components/extensions/Extension.sys.mjs @@ -1224,7 +1224,8 @@ export class ExtensionData { let { manifest } = this; if ( !manifest.background || - manifest.background.service_worker || + (manifest.background.service_worker && + WebExtensionPolicy.backgroundServiceWorkerEnabled) || this.manifestVersion > 2 ) { return false; |