[Webkit-unassigned] [Bug 29193] [chromium] Prevent JavaScript busy-loops in unload handlers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 16 14:04:07 PDT 2009


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





--- Comment #26 from John Abd-El-Malek <jam at chromium.org>  2009-09-16 14:04:07 PDT ---
(In reply to comment #25)
> I've also discussed this with Darin and John (although not Peter directly).
> 
> 1) I think we should give web developers a bigger carrot to avoid an arms race
> here.  In particular, we should consider completing network requests started
> from unload handlers, removing the incentive to use a busy-loop.

There are a variety of serious problems with this.  Peter just touched on some
of them.  This been discussed to death already.

> 
> 2) I continue to think that WebCore is the wrong layer at which to make a
> change that manipulates the Date API.  The reasons to prefer making the change
> here appear more political than technical.

The (technical) reasons why this is the case have been made a number of times. 
V8 team does not want to add hooks as it's too one-off, and it limits their
flexibility.  We will need hooks anyways in the bindings layer to know when
we're entering/exiting an unload handler.

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