On safari 15.4 it works as expected, but on ios safari 15.5 when I go back on pages without back/forward cache activated, the document.readyState 'complete' never fires.
Also the window onload event seems not to trigger
On safari 15.4 i mean osx with safari 15.4
<rdar://problem/97320898>