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
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