一応修正できた。Warning: NetUtil.asyncFetch() requires the channel to have one of the security flags set in the loadinfo (see nsILoadInfo). Please create channel using NetUtil.newChannel()
This commit is contained in:
parent
7d023b122d
commit
1f60e17a85
@ -47,7 +47,17 @@ AboutGroup.prototype = {
|
||||
|
||||
newChannel : function(aURI)
|
||||
{
|
||||
return Services.io.newChannel('chrome://treestyletab/content/group.xul', null, null);
|
||||
//return Services.io.newChannel('chrome://treestyletab/content/group.xul', null, null);
|
||||
return Services.io.newChannel2(
|
||||
'chrome://treestyletab/content/group.xul',
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
Services.scriptSecurityManager.getSystemPrincipal(),
|
||||
null,
|
||||
Components.interfaces.nsILoadInfo.SEC_NORMAL,
|
||||
Components.interfaces.nsIContentPolicy.TYPE_OTHER
|
||||
);
|
||||
},
|
||||
|
||||
getURIFlags : function(aURI)
|
||||
|
Loading…
Reference in New Issue
Block a user