B2G/gecko/toolkit/forgetaboutsite/test/unit/test_removeDataFromDomain_activeDownloads.js
/**
 * Creates an nsIURI object for the given file.
 *
 * @param aFile
 *        The nsIFile of the URI to create.
 * @returns an nsIURI representing aFile.
 */
Creates an nsIURI object for the given file.
@param aFile
The nsIFile of the URI to create.
@returns an nsIURI representing aFile.
Creates an nsIURI object for the given file . @param aFile The nsIFile of the URI to create . @returns an nsIURI representing aFile .
function uri(aFile)
{
  return Cc["@mozilla.org/network/io-service;1"].
         getService(Ci.nsIIOService).
         newFileURI(aFile);
}
function uri ( aFile ) { return Cc [ "@mozilla.org/network/io-service;1" ] . getService ( Ci . nsIIOService ) . newFileURI ( aFile ) ; }
Creates an nsIURI object for the given file.
Creates an nsIURI object for the given file .