16250. r=warren. IOService method name case changed. reflecting the new method names in the directory javascript
git-svn-id: svn://10.0.0.236/trunk@50540 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
989168e646
commit
e96f49b91f
@ -128,14 +128,14 @@ function ReadDirectory(url)
|
||||
var ios = Components.classes['component://netscape/network/net-service'].getService();
|
||||
ios = ios.QueryInterface(Components.interfaces.nsIIOService);
|
||||
|
||||
var uri = ios.NewURI(url, null);
|
||||
var uri = ios.newURI(url, null);
|
||||
|
||||
// Create a channel...
|
||||
var channel = ios.NewChannelFromURI('load', uri, null, null);
|
||||
var channel = ios.newChannelFromURI('load', uri, null, null);
|
||||
|
||||
// ...so that we can pipe it into a new HTTPIndex listener to
|
||||
// parse the directory's contents.
|
||||
channel.AsyncRead(0, -1, null, HTTPIndex.CreateListener());
|
||||
channel.asyncRead(0, -1, null, HTTPIndex.CreateListener());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -128,14 +128,14 @@ function ReadDirectory(url)
|
||||
var ios = Components.classes['component://netscape/network/net-service'].getService();
|
||||
ios = ios.QueryInterface(Components.interfaces.nsIIOService);
|
||||
|
||||
var uri = ios.NewURI(url, null);
|
||||
var uri = ios.newURI(url, null);
|
||||
|
||||
// Create a channel...
|
||||
var channel = ios.NewChannelFromURI('load', uri, null, null);
|
||||
var channel = ios.newChannelFromURI('load', uri, null, null);
|
||||
|
||||
// ...so that we can pipe it into a new HTTPIndex listener to
|
||||
// parse the directory's contents.
|
||||
channel.AsyncRead(0, -1, null, HTTPIndex.CreateListener());
|
||||
channel.asyncRead(0, -1, null, HTTPIndex.CreateListener());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user