0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00

Fix allow_cookies_for_site.patch

This commit is contained in:
Malte Jürgens 2023-12-06 23:09:17 +01:00
parent 4426ddc51f
commit e48e5a3557
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3

View file

@ -1,5 +1,5 @@
diff --git a/browser/base/content/browser-siteIdentity.js b/browser/base/content/browser-siteIdentity.js
index 4efbba2..1bc6b5b 100644
index 4efbba2..5445b03 100644
--- a/browser/base/content/browser-siteIdentity.js
+++ b/browser/base/content/browser-siteIdentity.js
@@ -414,6 +414,33 @@ var gIdentityHandler = {
@ -7,7 +7,7 @@ index 4efbba2..1bc6b5b 100644
},
+ async refreshSiteData() {
+ document.getElementById("identity-popup-allow-sitedata-toggle").setAttribute(
+ document.getElementById("identity-popup-allow-sitedata-toggle").toggleAttribute(
+ "pressed",
+ Services.perms.testExactPermissionFromPrincipal(
+ gBrowser.contentPrincipal,