1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.

2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
This commit is contained in:
nisheeth@netscape.com
2000-05-01 06:58:53 +00:00
parent 73483cd0e0
commit 82ef56e610
46 changed files with 386 additions and 84 deletions

View File

@@ -392,7 +392,8 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
nsIChannel* aChannel,
nsILoadGroup* aLoadGroup,
nsISupports* aContainer,
nsIStreamListener **aDocListener)
nsIStreamListener **aDocListener,
PRBool aReset)
{
PRBool needsParser=PR_TRUE;
if (aCommand)
@@ -406,8 +407,8 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
nsresult rv = nsDocument::StartDocumentLoad(aCommand,
aChannel, aLoadGroup,
aContainer,
aDocListener);
aContainer,
aDocListener, aReset);
if (NS_FAILED(rv)) { return rv; }
nsAutoString charset; charset.AssignWithConversion("ISO-8859-1"); // fallback value in case webShell return error