Bug 1277698, r=bz, a=al
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 07 Jun 2016 14:47:35 +0100
changeset 339609 8c7667ce0a8d9c37318c19cbfdfaa34db9d409cc
parent 339608 dca560586c399c3ae3a7ce96d5c3681ee2cbf5b4
child 339610 23c56144e51c56304df9620bb18fb8786e087e40
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz, al
bugs1277698
milestone49.0a2
Bug 1277698, r=bz, a=al MozReview-Commit-ID: JH5QUu357gc
browser/components/feeds/FeedConverter.js
--- a/browser/components/feeds/FeedConverter.js
+++ b/browser/components/feeds/FeedConverter.js
@@ -483,17 +483,19 @@ GenericProtocolHandler.prototype = {
     this._scheme = scheme;
   },
 
   get scheme() {
     return this._scheme;
   },
 
   get protocolFlags() {
-    return this._http.protocolFlags;
+    let {URI_DANGEROUS_TO_LOAD, ALLOWS_PROXY_HTTP, ALLOWS_PROXY} =
+      Ci.nsIProtocolHandler;
+    return URI_DANGEROUS_TO_LOAD | ALLOWS_PROXY | ALLOWS_PROXY_HTTP;
   },
 
   get defaultPort() {
     return this._http.defaultPort;
   },
 
   allowPort(port, scheme) {
     return this._http.allowPort(port, scheme);