Skip to content
Snippets Groups Projects
Verified Commit d45d48ba authored by ma1's avatar ma1 Committed by Pier Angelo Vendrame
Browse files

Bug 32411: Letterboxing, exempt view-source: URIs.

parent d606936a
1 merge request!1135Bug 43084: Rebased stable onto 115.15.0esr
......@@ -387,6 +387,8 @@ class _RFPHelper {
contentPrincipal.isSystemPrincipal ||
// ... about: URIs EXCEPT about:blank
(currentURI.schemeIs("about") && currentURI.filePath !== "blank") ||
// ... source code
currentURI.schemeIs("view-source") ||
// ... browser extensions
contentPrincipal.addonPolicy
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment