AUI-1419 Safari only - SPA will continuously reload the page if an iframe with src attribute exists on the page 

Hey Eduardo. This issue is related to a portal bug: https://issues.liferay.com/browse/LPS-47486. Any page that has an iframe with src will be affected by this, so I found that defering the popstate listener to domready was the right fix. I put a gif showing the bug on the AUI ticket if you are too lazy to test all the steps. Go Brazil