Share:

October 15, 2023

Justin Kazmierczak

WebKit Fixes

WebKit Fixes

Share:

Published on October 15, 2023

Justin Kazmierczak

Finally figured out what was causing the mobile version of Safari to crash while rendering my beautiful travel page. Apparently, the version of Safari on iOS has far more glitches than its desktop counterpart. I've tested components in desktop Safari, Chrome, and iOS Safari.

I think Apple is limiting the amount of animations or perhaps RAM utilization on its web pages. I also had to fix a forced double slash error “//”, where iOS Safari added an extra slash to hardcoded complete URLs. I haven't been able to replicate this in desktop Safari or desktop Chrome. I assume it is iOS Safari misusing the web manifest file.

For those who don't know, any browser in iOS is forced to use iOS Safari's version of the web-kit rendering engine, which is the same as opening it in iOS Safari. This means testing the mobile version of Chrome on iOS isn't very useful.

My beautiful page animation transitions, skillfully hiding rendering glitches, were throttled and crashed Safari when it had more than a handful of elements. For now, I'm okay with disabling them because when a website gets the whole Universe App experience, a fetch call will add the pages through JavaScript, enabling them to appear faster.

I think when I can control how elements are being displayed in the DOM, I'll be able to make the transitions appear seamless without crashing Safari. I need to note that iOS Safari has started to remind me of Internet Explorer 6. Make concessions for a glitch web browser because most of your market share uses it.

I will say this: I'm using a beta version of the OS because the current release had the same glitches. I'm hoping they fix these soon. Anyway, building consistent apps through Universe App Tools helps prevent developers from experiencing these kinds of problems because when any developer who uses Universe App tools detects a situation like this, they can publish a fix to UAT code. A developer simply updates their code to adopt the new version.

At least, that's the theory. We will know more as I keep innovating The Universe code base.