Skip to content
Snippets Groups Projects
Verified Commit d53848c0 authored by ma1's avatar ma1
Browse files

Bug 42574: Letterboxing, exempt pdf.js.

parent f5bb3351
No related branches found
No related tags found
No related merge requests found
......@@ -475,6 +475,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.
Finish editing this message first!
Please register or to comment