Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - …
Browse files Browse the repository at this point in the history
…update asyncFetch2 (r=sicking,paolo)
  • Loading branch information
Christoph Kerschbaumer authored and erikvold committed Jun 1, 2015
1 parent 047e84d commit 137928d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sdk/net/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function readURI(uri, options) {
let { promise, resolve, reject } = defer();

try {
NetUtil.asyncFetch2(channel, function (stream, result) {
NetUtil.asyncFetch(channel, function (stream, result) {
if (components.isSuccessCode(result)) {
let count = stream.available();
let data = NetUtil.readInputStreamToString(stream, count, { charset : charset });
Expand Down

0 comments on commit 137928d

Please sign in to comment.