Created attachment 289556 [details] Stack trace of the crash After a while, the browser reloads the page and says "A problem occurred with this web page, so it was reloaded.". Browser: Release 13 (Safari 10.0, WebKit 11603.1.5) Also crashes Safari on iOS 10. Steps to Reproduce: 1. Unzip example.zip contents (index.html and all.js) 2. Open index.html in Safari (also available at http://www.feriko.fi/example/ ) 3. Wait for a few seconds. Expected Results: No crash. The JavaScript code writes "fuu" in the console indefinitely. Actual Results: The browser reloads the page with the message "A problem occurred with this web page, so it was reloaded." Notes: The JavaScript code is obtained by compiling a Haskell code to JavaScript using ghcjs . The related issue is reported at https://github.com/ghcjs/ghcjs/issues/518 See the stack trace of the crash (crash.txt).
Created attachment 289557 [details] test case to reproduce crash
I've only skimmed the two http://www.buythesisonline.org posts, so pardon if I missed some nuances. I don't actually see a conflict between the two approaches.