Bug 1853548 - Remove dom.no_unknown_protocol_error.enabled pref r=gregp,smaug

Differential Revision: https://phabricator.services.mozilla.com/D210862
This commit is contained in:
tannal
2024-05-23 10:22:24 +00:00
parent 1104fd06ce
commit dfc90f6697
2 changed files with 0 additions and 8 deletions

View File

@@ -6151,7 +6151,6 @@ nsresult nsDocShell::FilterStatusForErrorPage(
// to see the error page.
nsCOMPtr<nsILoadInfo> info = aChannel->LoadInfo();
if (!info->TriggeringPrincipal()->IsSystemPrincipal() &&
StaticPrefs::dom_no_unknown_protocol_error_enabled() &&
!aIsInitialDocument) {
if (aSkippedUnknownProtocolNavigation) {
*aSkippedUnknownProtocolNavigation = true;

View File

@@ -3218,13 +3218,6 @@
value: true
mirror: always
# Whether we shouldn't show an error page for unknown protocols (and should
# show a console warning instead).
- name: dom.no_unknown_protocol_error.enabled
type: bool
value: true
mirror: always
# Whether origin trials are enabled.
- name: dom.origin-trials.enabled
type: bool