[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 08:57:03 PDT 2009


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


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39590|review?(fishd at chromium.org) |review-
               Flag|                            |




--- Comment #11 from Adam Barth <abarth at webkit.org>  2009-09-15 08:57:02 PDT ---
(From update of attachment 39590)
I really don't think this is the right approach.  This doesn't actually solve
the problem.  Sites that want to sleep in their unload handlers will just
resort to a Yet More Ridiculous Hack and save the original getTime function.

The proper way to solve this problem is to give V8 a time bound for running the
unload handler and have V8 terminate the script internally.  Hacking around
with the global JS environment is prone to disaster.

-- 
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