From b49bb13db914b29444d42c07bb5c53345b56ada5 Mon Sep 17 00:00:00 2001 From: Dominik Menke Date: Mon, 5 Dec 2022 13:34:18 +0100 Subject: [PATCH] fix(chrome): stop extension unloading in Firefox, fix #1974 Firefox starting with version 106 introduced a change which apparently broke background pages. For the Vuejs devtools, this surfaced as extension unloading when the browser reached an "idle" state. User having the extension open noticed it as a unloading/reloading of the devtools tab. By setting background.persisted to true in the manifest.json, the unloading stopped. Note: This is a temporary solution, until Manifest v3 is properly supported. --- packages/shell-chrome/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shell-chrome/manifest.json b/packages/shell-chrome/manifest.json index aca6dbe29..4facd7227 100644 --- a/packages/shell-chrome/manifest.json +++ b/packages/shell-chrome/manifest.json @@ -28,7 +28,7 @@ "scripts": [ "build/background.js" ], - "persistent": false + "persistent": true }, "permissions": [ "",