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({
|
||||
uri: NetUtil.newURI(fp.file),
|
||||
loadingNode: window.document,
|
||||
contentPolicyType: Ci.nsIContentPolicy.TYPE_OTHER});
|
||||
uri: NetUtil.newURI(fp.file), loadUsingSystemPrincipal: true});
|
||||
channel.contentType = "text/plain";
|
||||
|
||||
NetUtil.asyncFetch(channel, (inputStream, status) => {
|
||||
|
||||
Reference in New Issue
Block a user