B2G/gecko/toolkit/forgetaboutsite/test/unit/test_removeDataFromDomain.js
/**
 * Creates an nsIURI object for the given string representation of a URI.
 *
 * @param aURIString
 *        The spec of the URI to create.
 * @returns an nsIURI representing aURIString.
 */
Creates an nsIURI object for the given string representation of a URI.
@param aURIString
The spec of the URI to create.
@returns an nsIURI representing aURIString.
Creates an nsIURI object for the given string representation of a URI . @param aURIString The spec of the URI to create . @returns an nsIURI representing aURIString .
function uri(aURIString)
{
  return Cc["@mozilla.org/network/io-service;1"].
         getService(Ci.nsIIOService).
         newURI(aURIString, null, null);
}
function uri ( aURIString ) { return Cc [ "@mozilla.org/network/io-service;1" ] . getService ( Ci . nsIIOService ) . newURI ( aURIString , null , null ) ; }
Creates an nsIURI object for the given string representation of a URI.
Creates an nsIURI object for the given string representation of a URI .