Commit d8d12c7e authored by Igor Oliveira's avatar Igor Oliveira Committed by Georg Koppen
Browse files

Bug 1455165 - Filter external apps out if needed. r=mcomella

parent 8f89ead3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6235,6 +6235,10 @@ var ExternalApps = {

  filter: {
    matches: function(aElement) {
      if (!Services.prefs.getBoolPref("network.protocol-handler.external-default")) {
        return false;
      }

      let uri = ExternalApps._getMediaLink(aElement);
      let apps = [];
      if (uri) {