adding new param to newChannelCall to reflect the new api

This commit is contained in:
valeski%netscape.com 1999-11-18 20:09:54 +00:00
Родитель ee4b9f450d
Коммит d502ce91a5
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -135,7 +135,7 @@ function ReadDirectory(url)
var uri = ios.newURI(url, null);
// Create a channel...
var channel = ios.newChannelFromURI('load', uri, null, null, null);
var channel = ios.newChannelFromURI('load', uri, null, null, Components.interfaces.nsIChannel.LOAD_NORMAL, null);
// ...so that we can pipe it into a new HTTPIndex listener to
// parse the directory's contents.

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

@ -135,7 +135,7 @@ function ReadDirectory(url)
var uri = ios.newURI(url, null);
// Create a channel...
var channel = ios.newChannelFromURI('load', uri, null, null, null);
var channel = ios.newChannelFromURI('load', uri, null, null, Components.interfaces.nsIChannel.LOAD_NORMAL, null);
// ...so that we can pipe it into a new HTTPIndex listener to
// parse the directory's contents.