Skip to content
Snippets Groups Projects
Commit a5934b0f authored by ma1's avatar ma1 Committed by Beatriz Rizental
Browse files

BB 42574: Letterboxing, exempt pdf.js.

parent 9a0bc80c
Branches
Tags
1 merge request!1527Bug 43808: Rebase 128.10.1 onto 128.11
......@@ -410,6 +410,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