зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
718a7c782c
Коммит
c495520b94
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче