mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 18:32:00 +00:00
geolocation passes location before users accepts prompt. b=448557. r=me
This commit is contained in:
parent
578d4e9469
commit
d8358005bf
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user