From d6d4176af2b909f5d559fc2ff3b482afa34bff44 Mon Sep 17 00:00:00 2001 From: Thomas Wisniewski Date: Tue, 16 Apr 2019 14:37:34 +0000 Subject: [PATCH] Bug 1543983 - Whitelist about:compat as a secure page on Fennec; r=snorp Whitelist about:compat as a secure page on Fennec Differential Revision: https://phabricator.services.mozilla.com/D27391 --HG-- extra : moz-landing-system : lando --- mobile/android/chrome/content/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index 71204757acb5..dd9d7f3bdcdb 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -5663,7 +5663,7 @@ var IdentityHandler = { return this.IDENTITY_MODE_IDENTIFIED; } - let whitelist = /^about:(about|accounts|addons|buildconfig|cache|config|crashes|devices|downloads|experiments|fennec|firefox|feedback|home|license|logins|logo|memory|mozilla|networking|privatebrowsing|rights|serviceworkers|support|telemetry|webrtc)($|\?)/i; + let whitelist = /^about:(about|accounts|addons|buildconfig|cache|compat|config|crashes|devices|downloads|experiments|fennec|firefox|feedback|home|license|logins|logo|memory|mozilla|networking|privatebrowsing|rights|serviceworkers|support|telemetry|webrtc)($|\?)/i; if (uri.schemeIs("about") && whitelist.test(uri.spec)) { return this.IDENTITY_MODE_CHROMEUI; }