PR_Free(readBuf); JS_EndRequest(gMochaContext);
static nsresult openPrefFile(nsIFile* aFile, PRBool aIsErrorFatal, PRBool aVerifyHash,                                     PRBool aIsGlobalContext, PRBool aSkipFirstLine){  nsCOMPtr<nsIFileSpec> fileSpec;  nsresult rv;  rv = nsIFileToFileSpec(aFile, getter_AddRefs(fileSpec));  if (NS_SUCCEEDED(rv)) {    JS_BeginRequest(gMochaContext);    rv = openPrefFileSpec(fileSpec, aIsErrorFatal, aVerifyHash, aIsGlobalContext, aSkipFirstLine);    JS_EndRequest(gMochaContext);  }  return rv;        }