Comment #57 on issue 7823 by j...@chromium.org: Closing tabs takes too long (even when not swapped out) http://code.google.com/p/chromium/issues/detail?id=7823
one idea I've been thinking about is to analyze the onbeforeunload/onunload handlers. If the former don't have any return statements (i.e. the majority) and both of them don't have any alert/confirm/showmodaldialog calls, then we know we can close the tab right away since no other ui can come up. This has the benefit of doing a fast close while not breaking apps that depend on these handlers and not having ui problems. -- 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 --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---