mathiasbynens/jsperf.com

Tests cannot complete on Safari 8 for iOS 8+

Opened this issue · 7 comments

The test cases seems to run correctly, but when it gets through them and needs to report it, a script error occurs.

This have been seen in both iOS 8.0.2 and 8.1.

Thanks we'll try to dig into this.

Got the same issue. :I

It's very annoying since I'm trying to run a benchmark on iOS safari

Same here. Worked fine on desktop but got Script error for Safari 8.0 (ios 8.1.2)

Same.. any update on this?

Same.. any update on this?

Nope. Pull requests welcomed.

Screenshot...
safari8-ios

My guess is the problem lies somewhere in here, which might explain why the error's lineNumber is 0 and no fileName is set.

Question: do you really need to use the with statement? I think that's frowned upon even more than goto. I don't know what iOS 8 is really preventing from working. Maybe it's a cross domain issue, maybe it's with, maybe it's parent frame access... Some further investigation will be needed I guess, but I hope this might give someone some insights.