[Webkit-unassigned] [Bug 46743] Event dispatching in XMLHttpRequestProgressEventThrottle should go through XMLHttpRequestProgressEventThrottle::dispatchEvent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 28 12:03:38 PDT 2010


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


Anton D'Auria <adauria at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #69081|                            |review?, commit-queue?
               Flag|                            |




--- Comment #1 from Anton D'Auria <adauria at apple.com>  2010-09-28 12:03:38 PST ---
Created an attachment (id=69081)
 --> (https://bugs.webkit.org/attachment.cgi?id=69081)
[PATCH] Refactor XMLHttpRequestProgressEventThrottle event dispatching

In preparation for platform-specific queuing of XMLHttpRequest events, this patch changes all calls to m_target->dispatchEvent to XMLHttpRequestProgressEventThrottle::dispatchEvent. Currently, we queue up only a progress event on suspend() if we have throttled progress events. We should be able to queue all XHR events that  can be generated after suspend(), if the platform network layer continues to receive data. XMLHttpRequest uses XMLHttpRequestProgressEventThrottle to dispatch only download events, so this doesn't change behavior of upload events, which aren't throttled or queued.

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