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

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

parent b92bce97
No related branches found
No related tags found
1 merge request!1505BB/TB 43416: Rebased onto 135.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 register or to comment