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

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

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