B2G/gecko/browser/components/thumbnails/PageThumbsProtocol.js
/**
   * Constructs a new channel from the given URI for this protocol handler.
   * @param aURI The URI for which to construct a channel.
   * @return The newly created channel.
   */
Constructs a new channel from the given URI for this protocol handler.
@param aURI The URI for which to construct a channel.
@return The newly created channel.
Constructs a new channel from the given URI for this protocol handler . @param aURI The URI for which to construct a channel . @return The newly created channel .
function Proto_newChannel(aURI) {
    let {url} = parseURI(aURI);
    let file = PageThumbsStorage.getFileForURL(url);
    let fileuri = Services.io.newFileURI(file);
    return Services.io.newChannelFromURI(fileuri);
  }
function Proto_newChannel ( aURI ) { let { url } = parseURI ( aURI ) ; let file = PageThumbsStorage . getFileForURL ( url ) ; let fileuri = Services . io . newFileURI ( file ) ; return Services . io . newChannelFromURI ( fileuri ) ; }
Constructs a new channel from the given URI for this protocol handler.
Constructs a new channel from the given URI for this protocol handler .