Verified Commit 570b70c1 authored by ma1's avatar ma1 Committed by Pier Angelo Vendrame
Browse files

BB 32411: Letterboxing, exempt view-source: URIs.

parent 7cafce7b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -412,6 +412,8 @@ class _RFPHelper {
      contentPrincipal.isSystemPrincipal ||
      // ... about: URIs EXCEPT about:blank
      (currentURI.schemeIs("about") && currentURI.filePath !== "blank") ||
      // ... source code
      currentURI.schemeIs("view-source") ||
      // ... browser extensions
      contentPrincipal.addonPolicy
    );