Commit 53f9b583 authored by ma1's avatar ma1 Committed by Pier Angelo Vendrame
Browse files

BB 42574: Letterboxing, exempt pdf.js.

parent 3dab6d9e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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