fixes bug 283733 "accessing a relative anchor in a secure page removes the locked icon and yellow background UI" r=jst sr=dveditz

This commit is contained in:
darin%meer.net 2005-02-27 06:33:35 +00:00
Родитель 718a7c782c
Коммит c495520b94
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -1136,6 +1136,11 @@ nsSecureBrowserUIImpl::OnLocationChange(nsIWebProgress* aWebProgress,
mCurrentURI = aLocation;
// If the location change does not have a corresponding request, then we
// assume that it does not impact the security state.
if (!aRequest)
return NS_OK;
// The location bar has changed, so we must update the security state. The
// only concern with doing this here is that a page may transition from being
// reported as completely secure to being reported as partially secure