rem: var channel = ios.NewChannelFromURI('load', uri, null); 
add: var channel = ios.NewChannelFromURI('load', uri, null, null); 
context: function ReadDirectory(url){    // Check to make sure we haven't read the directory yet...    if (Read[url])        return;    debug('ReadDirectory(' + url + ')\n');    var ios = Components.classes['component://netscape/network/net-service'].getService();    ios = ios.QueryInterface(Components.interfaces.nsIIOService);    var uri = ios.NewURI(url, null);    // Create a channel...    var channel = ios.NewChannelFromURI('load', uri, 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());    Read[url] = true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e819b99fc9bc0e762cca0f8438f211cb64d8ae53/directory.js/buggy/xpfe/components/directory/directory.js