27006 - Don't reload documents with POST form data.

r=rpotts,pollmann
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@82157 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
2000-11-01 20:25:33 +00:00
parent fc31dedc1d
commit 859b7a2217
5 changed files with 39 additions and 14 deletions

View File

@@ -665,9 +665,11 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
if(NS_SUCCEEDED(result)) {
// We do this to help consumers who don't have access to the webshell.
nsAutoString theID;
theID.AssignWithConversion("docshell");
parserBundle->SetDataIntoBundle(theID,docShell);
nsAutoString theDocShell,theChannel;
theDocShell.AssignWithConversion("docshell");
theChannel.AssignWithConversion("channel");
parserBundle->SetDataIntoBundle(theDocShell,docShell);
parserBundle->SetDataIntoBundle(theChannel,aChannel);
}
}