diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js index 06187697231e..5276cf454fd2 100644 --- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -6191,9 +6191,8 @@ var WebappsUI = { isMarketplace: function isMarketplace(aUri) { try { - return aUri.host == this.MARKETPLACE.URI.host; + return !aUri.schemeIs("about") && aUri.host == this.MARKETPLACE.URI.host; } catch(ex) { - // this can fail for uri's that don't have a host (i.e. about urls) console.log("could not find host for " + aUri.spec + ", " + ex); } return false;