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

Bug 42574: Letterboxing, exempt pdf.js.

parent 86f677de
No related branches found
No related tags found
2 merge requests!1202Bug_43099: 2024 YEC Strings,!1136Bug 43085: Rebased alpha onto 128.2.0esr
......@@ -409,6 +409,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 to comment