diff --git a/suite/common/directory/directory.js b/suite/common/directory/directory.js index 139fb8b2476d..e59d5f1f7fbe 100644 --- a/suite/common/directory/directory.js +++ b/suite/common/directory/directory.js @@ -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()); } diff --git a/xpfe/components/directory/directory.js b/xpfe/components/directory/directory.js index 139fb8b2476d..e59d5f1f7fbe 100644 --- a/xpfe/components/directory/directory.js +++ b/xpfe/components/directory/directory.js @@ -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()); }