Bug 1280204 - Convert devtools/client/shared/theme.js to use channel.open2(). r=grinstead

This commit is contained in:
Christoph Kerschbaumer 2016-06-15 13:19:31 +01:00
parent 4a09f2e308
commit e6988379ea

View File

@ -29,7 +29,7 @@ function readURI(uri) {
let stream = NetUtil.newChannel({
uri: NetUtil.newURI(uri, "UTF-8"),
loadUsingSystemPrincipal: true}
).open();
).open2();
let count = stream.available();
let data = NetUtil.readInputStreamToString(stream, count, {