Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Actually, I wasn't trying to test the javascript VM at all, just how the browser handled an infinite loop of alert dialogs. Since alert windows steal focus, an infinite loop of them will keep stealing focus. I wanted to know how Chrome would handle this.


I didn't think you were barking up the wrong tree. It's another suggestion. You might need some kind of "yield" statement if you want to see how another Javascript program will act with a background window spamming it with allocations.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: