[Webkit-unassigned] [Bug 120828] loadend ProgressEvent of XHR can not get correct value of attribute of loaded and total

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 2 01:09:07 PST 2014


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





--- Comment #13 from Alexey Proskuryakov <ap at webkit.org>  2014-01-02 01:06:57 PST ---
> To improve things, we could probably introduce a XMLHttpRequestProgressEventThrottle::dispatchProgressEvent (that takes an event name as input) to dispatch all ProgressEvent events that are not throttled (loadstart, loaded...).
>The current XMLHttpRequestProgressEventThrottle::dispatchProgressEvent could then be renamed as "dispatchThrottledProgressEvent" or "updateProgress".
>Any thought?

It would be helpful to make this code look better, but I think that this needn't block landing the fix.

> Also in XMLHttpRequest::callReadyStateChangeListener, the readystatechange event is created as a ProgressEvent.
> According the XHR spec, its interface should be Event. I wonder whether this should be fixed or not.

I don't care very much. What do other browsers do?

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