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

Bug 42574: Letterboxing, exempt pdf.js.

parent d45d48ba
Branches
Tags
1 merge request!1135Bug 43084: Rebased stable onto 115.15.0esr
......@@ -385,6 +385,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