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

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

parent 36307532
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -376,6 +376,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
    );