mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 12:05:22 +00:00
458135 - geolocation hrows NS_ERROR_NOT_AVAILABLE when no geolocation provider. r/sr=jst, a=beltzner
This commit is contained in:
parent
a52a78014b
commit
382b1ea9f8
@ -193,7 +193,7 @@ nsGeolocationRequest::Allow()
|
||||
JSContext* cx;
|
||||
stack->Pop(&cx);
|
||||
|
||||
return rv;
|
||||
return NS_OK; // silently fail
|
||||
}
|
||||
|
||||
mAllowed = PR_TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user