B2G/gecko/browser/components/downloads/content/downloads.js
/**
   * Support function to open the specified nsIFile.
   */
Support function to open the specified nsIFile.
Support function to open the specified nsIFile .
function DVIC_openExternal(aFile)
  {
    let protocolSvc = Cc["@mozilla.org/uriloader/external-protocol-service;1"]
                      .getService(Ci.nsIExternalProtocolService);
    protocolSvc.loadUrl(makeFileURI(aFile));
  }
function DVIC_openExternal ( aFile ) { let protocolSvc = Cc [ "@mozilla.org/uriloader/external-protocol-service;1" ] . getService ( Ci . nsIExternalProtocolService ) ; protocolSvc . loadUrl ( makeFileURI ( aFile ) ) ; }
Support function to open the specified nsIFile.
Support function to open the specified nsIFile .