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:
norris%netscape.com
2000-02-10 04:56:56 +00:00
parent c5bb7a8237
commit 36450a3f42
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;