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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user