Bug 1297370 - Provide security flag for channel within snapshotlist. r=gijs
This commit is contained in:
@@ -362,9 +362,7 @@ var SnapshotsListView = Heritage.extend(WidgetMethods, {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let channel = NetUtil.newChannel({
|
let channel = NetUtil.newChannel({
|
||||||
uri: NetUtil.newURI(fp.file),
|
uri: NetUtil.newURI(fp.file), loadUsingSystemPrincipal: true});
|
||||||
loadingNode: window.document,
|
|
||||||
contentPolicyType: Ci.nsIContentPolicy.TYPE_OTHER});
|
|
||||||
channel.contentType = "text/plain";
|
channel.contentType = "text/plain";
|
||||||
|
|
||||||
NetUtil.asyncFetch(channel, (inputStream, status) => {
|
NetUtil.asyncFetch(channel, (inputStream, status) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user