In Safari's JavaScript geolocation, is altitude based on MSL or WGS84 ellipsoid?

Hello all,

I'm trying to retrieve geolocation data on the web, but I'm having trouble with the altitude value, which seems to differ from what I get on Android.

When using navigator.geolocation.getCurrentPosition in Safari, is the altitude value based on mean sea level, or is it ellipsoidal altitude based on the WGS84 ellipsoid?

If anyone has any insight into this topic I would greatly appreciate it!

In Safari's JavaScript geolocation, is altitude based on MSL or WGS84 ellipsoid?
 
 
Q