mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Fix NewChannelFromURI() call due to addition of new parameter.
This commit is contained in:
parent
9ac99603cf
commit
6249d79620
@ -131,7 +131,7 @@ function ReadDirectory(url)
|
||||
var uri = ios.NewURI(url, null);
|
||||
|
||||
// Create a channel...
|
||||
var channel = ios.NewChannelFromURI('load', uri, 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.
|
||||
|
@ -131,7 +131,7 @@ function ReadDirectory(url)
|
||||
var uri = ios.NewURI(url, null);
|
||||
|
||||
// Create a channel...
|
||||
var channel = ios.NewChannelFromURI('load', uri, 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.
|
||||
|
Loading…
Reference in New Issue
Block a user