e7d / speedtest

A self-hosted, lightweight HTML5 speed test implemented in JavaScript, based on Web Workers and XMLHttpRequest.
https://hub.docker.com/r/e7db/speedtest
MIT License
212 stars 58 forks source link

Cannot start speedtest on Safari 13.0.3 #6

Closed dwinurhadia closed 4 years ago

dwinurhadia commented 4 years ago

Dear Sir, I have error to start speedtest when i used safari, and having error TypeError: Reflect.construct requires the first argument be a constructor on line } : r.exports = o = Reflect.construct, o.apply(null, arguments)

Preview screenshoot here https://prnt.sc/q8osca https://prnt.sc/q8osp2

e7d commented 4 years ago

Hi, Thank you for this. I'll give it a look as soon as I can get a Mac to test it.

markhalliwell commented 4 years ago

Same thing on all iOS devices (since it uses Safari for any webkit view)

voidpls commented 4 years ago

Yup, latest Safari on iOS is broken

e7d commented 4 years ago

Hello @dwinurhadia, @markcarver and @voidpls.

There was actually a bug regarding Safari XHR events handling. Could you test if the current develop version is working for you? http://134.209.196.181:8081/

Be sure to clear your cache before testing.

Thanks and regards.

markhalliwell commented 4 years ago

@e7d I just tested in safari on my mac and my iphone, it works 😃

voidpls commented 4 years ago

Yup, works on latest iOS

dwinurhadia commented 4 years ago

Yes, It's works. Thank you 😄

markhalliwell commented 4 years ago

bump

e7d commented 4 years ago

@markcarver I published a new 0.5.1 release yesterday. Please ho ahead and try it.

markhalliwell commented 4 years ago

Perfect, thank you :D