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
This commit is contained in:
Thomas Wisniewski 2019-04-16 14:37:34 +00:00
Родитель cef2d6e7fd
Коммит d6d4176af2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}