firefox/CVE-2021-23998.patch
2024-07-22 11:24:33 +08:00

34 lines
1.1 KiB
Diff

From 8bfa81da7a7869f9b7ac9092c179811a88052a41 Mon Sep 17 00:00:00 2001
From: Gijs Kruitbosch <gijskruitbosch@gmail.com>
Date: Mon, 22 Jul 2024 11:20:59 +0800
Subject: [PATCH] fix pageproxystate handling in the url bar, r=johannh a=RyanVM
---
browser/base/content/browser-siteIdentity.js | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/browser/base/content/browser-siteIdentity.js b/browser/base/content/browser-siteIdentity.js
index 0f69461..4214104 100644
--- a/browser/base/content/browser-siteIdentity.js
+++ b/browser/base/content/browser-siteIdentity.js
@@ -869,16 +869,6 @@ var gIdentityHandler = {
return;
}
- // If this condition is true, the URL bar will have an "invalid"
- // pageproxystate, which will hide the security indicators. Thus, we can
- // safely avoid updating the security UI.
- //
- // This will also filter out intermediate about:blank loads to avoid
- // flickering the identity block and doing unnecessary work.
- if (this._hasInvalidPageProxyState()) {
- return;
- }
-
this._refreshIdentityIcons();
this._refreshPermissionIcons();
--
2.27.0