From 2ac3115c526a766b19bded840417dc1303016e66 Mon Sep 17 00:00:00 2001
From: praschke <stel@comfy.monster>
Date: Wed, 16 Aug 2023 11:52:29 +0100
Subject: fix #173

`declarativeNetRequest.updateDynamicRules()` returns with an
unexpected error in Firefox, but only after the browser has been
restarted. On a fresh install of Yomitan it works, causing bug
flakiness. `declarativeNetRequest` can be disabled in the manifest as
a workaround.
---
 dev/data/manifest-variants.json | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'dev/data')

diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json
index e167c755..304a3a0e 100644
--- a/dev/data/manifest-variants.json
+++ b/dev/data/manifest-variants.json
@@ -247,6 +247,13 @@
                     "items": [
                         "nativeMessaging"
                     ]
+                },
+                {
+                    "action": "remove",
+                    "path": [
+                        "permissions"
+                    ],
+                    "item": "declarativeNetRequest"
                 }
             ],
             "excludeFiles": [
-- 
cgit v1.2.3