458135 - geolocation hrows NS_ERROR_NOT_AVAILABLE when no geolocation provider. r/sr=jst, a=beltzner

This commit is contained in:
Doug Turner 2008-10-06 20:57:44 -07:00
parent 2e1f26d2df
commit ed1fc97e5b

View File

@ -193,7 +193,7 @@ nsGeolocationRequest::Allow()
JSContext* cx; JSContext* cx;
stack->Pop(&cx); stack->Pop(&cx);
return rv; return NS_OK; // silently fail
} }
mAllowed = PR_TRUE; mAllowed = PR_TRUE;