Commit b7cde27c authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! BB 9173: Change the default Firefox profile directory to be relative.

BB 45074: Do not promote Tor Browser as a PDF viewer.

This functionality does not work when in portable mode.
parent f37a5138
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -27,7 +27,10 @@ export class AboutPDFParent extends JSWindowActorParent {
  }

  #canSetDefaultPDFHandler() {
    if (!ShellService) {
    const xreDirProvider = Cc[
      "@mozilla.org/xre/directory-provider;1"
    ].getService(Ci.nsIXREDirProvider);
    if (!ShellService || xreDirProvider.isPortableMode) {
      return false;
    }