Fix 25062 Reload vulnerability
25206 Reload vulnerability #2 Implement grant dialogs and persistence for capabilities. most r=mstoltz, some code from morse w/ r=norris git-svn-id: svn://10.0.0.236/trunk@60281 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2216,7 +2216,8 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
|
||||
/* Add the page to session history */
|
||||
if (aModifyHistory && shist && (!isMail)) {
|
||||
PRInt32 ret;
|
||||
ret = shist->Add(spec, this);
|
||||
nsCAutoString referrer(aReferrer);
|
||||
ret = shist->Add(spec, referrer, this);
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIWebShell> parent;
|
||||
|
||||
Reference in New Issue
Block a user