Verified Commit 410bb24f authored by ma1's avatar ma1
Browse files

Bug 42574: Letterboxing, exempt pdf.js.

parent 75ac830c
Loading
Loading
Loading
Loading
+2 −0
Changes for toolkit/components/resistfingerprinting/RFPHelper.sys.mjs: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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