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

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

parent 441abe32
Branches
Tags
1 merge request!694Bug 41796: Rebased on top of FIREFOX_ESR_115_BASE
......@@ -376,6 +376,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