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

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

parent 73dd3f6e
Branches
Tags
1 merge request!1043Bug 42616: Rebased alpha onto Firefox 128.0b1
......@@ -411,6 +411,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