@Christoph-Hart Thanks, I tried with and without cache/persistence, but it still doesn’t work.
But.. I tested the same script along with the same HTML file in a new project, and it works. There must be something in my project that’s preventing the page from rendering. I used the same project settings.
It actually doesnt even load the html in the original project, because I have a spinner while the page is loading. And I don't even see the spinner.