File download; approved by chofmann

git-svn-id: svn://10.0.0.236/trunk@26796 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
law%netscape.com
1999-04-08 04:21:15 +00:00
parent 0614bc090a
commit f8ccb27904
11 changed files with 491 additions and 4 deletions

View File

@@ -1878,6 +1878,12 @@ NS_METHOD nsDocumentBindInfo::OnStartBinding(nsIURL* aURL, const char *aContentT
if (NS_FAILED(rv)) {
printf("DocLoaderFactory: Unable to create ContentViewer for content-type: %s\n", aContentType);
if ( m_Container ) {
// Give content container a chance to do something with this URL.
rv = m_Container->HandleUnknownContentType( aURL, aContentType, m_Command );
}
// Stop the binding.
// This crashes on Unix/Mac... Stop();
goto done;
}