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 a52a78014b
commit 382b1ea9f8

View File

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