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

BB 42574: Letterboxing, exempt pdf.js.

parent 89cd8718
No related branches found
No related tags found
1 merge request!1500TB 43415: Rebased onto 134.0a1
......@@ -381,6 +381,8 @@ class _RFPHelper {
return (
// ... privileged pages
contentPrincipal.isSystemPrincipal ||
// pdf.js
contentPrincipal.origin.startsWith("resource://pdf.js") ||
// ... about: URIs EXCEPT about:blank
(currentURI.schemeIs("about") && currentURI.filePath !== "blank") ||
// ... source code
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment