mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
Bug 1280204 - Convert devtools/client/shared/theme.js to use channel.open2(). r=grinstead
This commit is contained in:
parent
4a09f2e308
commit
e6988379ea
@ -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, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user