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:
norris@netscape.com
2000-02-10 04:56:56 +00:00
parent f646203916
commit 7116dbbb79
25 changed files with 530 additions and 148 deletions

View File

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