[Webkit-unassigned] [Bug 29193] [chromium] Need to prevent Javascript sleeps in unload handlers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 15 10:47:20 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29193





--- Comment #16 from John Abd-El-Malek <jam at chromium.org>  2009-09-15 10:47:18 PDT ---
(In reply to comment #15)
> Wow, that crbug thread is a monster.  I presume you've investigated other
> options like just hiding the tab while the unload handler runs (or after the
> unload handler has been running for too long).

Yeah, a lot of the context is in that bug, and also in hallway/email/rietveld
discussions with Darin/Mike/Mads/Dimitri and others.

Hiding the tab has its own issues (i.e. what if an alert/prompt/showModalDialog
is shown?), and also doesn't fix the navigation use case.

As I mentioned in the crbug thread, this isn't meant as a fool-proof
workaround, since that's a losing battle (i.e. sites can just compute primes,
or register a thousand handlers to defeat any limit on an individual running
time/cycles of a handler).  This bug is a testament to what web developers will
do to workaround any browser limitations.  The result is a much worse user
experience.

This is only a stop gap until we have <a ping>, which I'll be looking at soon.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list