m-lab / mlab-speedtest

Repository of the Interface and Project for speed.measurementlab.net
https://speed.measurementlab.net
Apache License 2.0
36 stars 14 forks source link

Why is Safari restricted from using the service? #33

Open RA80533 opened 3 years ago

RA80533 commented 3 years ago

It appears that Safari is functionally compatible with the website once the Safari-specific restrictions are removed. Is there a particular reason why the browser is prevented from using the service?

Safari 14.0.3

robertodauria commented 3 years ago

There seems to be a bug in the Webkit implementation of websockets preventing the message scaling algorithm to work properly, which results in upload measurements failing on some combinations of machine speed + connection speed. Further details: https://github.com/m-lab/ndt7-js/issues/19#issuecomment-808763993

There is also a different issue in the download measurement, so that it never reports more than ~500 Mb/s in our testing -- only on Safari.

While it would appear that the measurement is running just fine on Safari (and in most cases, i.e. < 500Mb/s, this is probably true), some percentage of measurements done on Safari will either fail while showing unreasonably high upload rate to the user (first bug), or under-report the download speed (second bug).

We decided to disable it until either we have a good workaround for these two issues, or they are fixed in Safari.