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

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

parent e00f81bf
Branches
Tags
1 merge request!1500TB 43415: Rebased onto 134.0a1
......@@ -383,6 +383,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