Issue 3567: No unresponsive dialog during onbeforeunload javascript http://code.google.com/p/chromium/issues/detail?id=3567
Comment #4 by [EMAIL PROTECTED]: I tested this with and without a popup in the while loop with the same effect so I'm using this simplified poc: <body onbeforeunload="while(1);" onload="location='http://example.com'"> When you load this page chrome.exe starts using 100% CPU but and even after a long time there is no popup asking if I want to stop the script. Dean is correct: we should fix this by adding the "unresponsive" dialog to onbeforeunload. However, I have no problem closing the tab or Chrome. Maybe this is because I have multiple CPU's in my machine (the browser process can use another process to respond to my clicks, even if the renderer is completely hogging another). It might also be because I use Windows Vista, which does context switching slightly different from XP. If you can't close Chrome, could you let me know what OS you're using and how many CPU's your machine has? Also, at one point during testing, I ran into a DCHECK when I closed the page. Something about it waiting for multiple threads to end and those threads not doing so in a timely fashion. It didn't strike me as interesting unless I could repro, which I tried and cannot. I forgot to write down the exact details :( -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/chromium-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
