mFastLoadURITable.Reset();
mFastLoadURITable.Clear();
nsXULPrototypeCache::AbortFastLoads(){#ifdef DEBUG_brendan    NS_BREAK();#endif    // Save a strong ref to the FastLoad file, so we can remove it after we    // close open streams to it.    nsCOMPtr<nsIFile> file = gFastLoadFile;    // Flush the XUL cache for good measure, in case we cached a bogus/downrev    // script, somehow.    Flush();    // Clear the FastLoad set    mFastLoadURITable.Reset();    if (! gFastLoadService)        return NS_OK;    // Fetch the current input (if FastLoad file existed) or output (if we're    // creating the FastLoad file during this app startup) stream.    nsCOMPtr<nsIObjectInputStream> objectInput;    nsCOMPtr<nsIObjectOutputStream> objectOutput;    gFastLoadService->GetInputStream(getter_AddRefs(objectInput));    gFastLoadService->GetOutputStream(getter_AddRefs(objectOutput));    if (objectOutput) {        gFastLoadService->SetOutputStream(nsnull);        if (NS_SUCCEEDED(objectOutput->Close()) && gChecksumXULFastLoadFile)            gFastLoadService->CacheChecksum(gFastLoadFile,                                            objectOutput);    }    if (objectInput) {        // If this is the last of one or more XUL master documents loaded        // together at app startup, close the FastLoad service's singleton        // input stream now.        gFastLoadService->SetInputStream(nsnull);        objectInput->Close();    }    // Now rename or remove the file.    if (file) {#ifdef DEBUG        // Remove any existing Aborted.mfasl files generated in previous runs.        nsCOMPtr<nsIFile> existingAbortedFile;        file->Clone(getter_AddRefs(existingAbortedFile));        if (existingAbortedFile) {            existingAbortedFile->SetLeafName(NS_LITERAL_STRING("Aborted.mfasl"));            PRBool fileExists = PR_FALSE;            existingAbortedFile->Exists(&fileExists);            if (fileExists)                existingAbortedFile->Remove(PR_FALSE);        }        file->MoveToNative(nsnull, NS_LITERAL_CSTRING("Aborted.mfasl"));#else        file->Remove(PR_FALSE);#endif    }    // If the list is empty now, the FastLoad process is done.    NS_RELEASE(gFastLoadService);    NS_RELEASE(gFastLoadFile);    return NS_OK;}