Bug 1256050 - Update newChannel implementation after deprecating API on ioservice. r=mixedpuppy

This commit is contained in:
Christoph Kerschbaumer
2016-03-12 17:00:50 -08:00
parent 16ce96e3a4
commit dae1b91511

View File

@@ -109,7 +109,8 @@ PocketAboutPage.prototype = {
},
newChannel: function(aURI, aLoadInfo) {
let channel = Services.io.newChannelFromURIWithLoadInfo(this.chromeURL,
let newURI = Services.io.newURI(this.chromeURL, null, null);
let channel = Services.io.newChannelFromURIWithLoadInfo(newURI,
aLoadInfo);
channel.originalURI = aURI;
return channel;