geolocation passes location before users accepts prompt. b=448557. r=me

This commit is contained in:
Doug Turner 2008-08-01 14:09:34 -07:00
parent 578d4e9469
commit d8358005bf

View File

@ -131,7 +131,7 @@ nsGeolocationRequest::MarkCleared()
void
nsGeolocationRequest::SendLocation(nsIDOMGeolocation* location)
{
if (mCleared)
if (mCleared || !mAllowed)
return;
//TODO mFuzzLocation. Needs to be defined what we do here.