16250. r=warren. IOService method name case changed. reflecting the new method names in the directory javascript

This commit is contained in:
valeski%netscape.com 1999-10-13 01:36:57 +00:00
Родитель c468426b31
Коммит 1c4b9c98dd
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -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());
}