Skip to content

Commit d5f4ab7

Browse files
committed
Enable container support in Firefox pre-releases only for now.
1 parent 355c42e commit d5f4ab7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

manifest.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ const isFirefox = MANIFEST_VER.includes("firefox");
4242
const isTor = MANIFEST_VER.includes(":tor");
4343
const isDebug = MANIFEST_VER.includes(":dbg");
4444

45+
const pre = /[a-zA-Z-]|\.9\d{2}$/.test(extVer);
46+
if (!(isFirefox && pre && !isTor)) {
47+
permissions.delete("contextualIdentities");
48+
}
4549
if (isFirefox) {
46-
const pre = /[a-zA-Z-]|\.9\d{2}$/.test(extVer);
4750
if (isTor) {
4851
// add version suffix to separate Tor Browser builds
4952
const suffix = "1984";

0 commit comments

Comments
 (0)