[Webkit-unassigned] [Bug 230294] XMLHttpRequest Progress Even Not Firing for Requests Finished under 100Ms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 18 09:13:18 PDT 2021


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

Sam Sneddon [:gsnedders] <gsnedders at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gsnedders at apple.com

--- Comment #6 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
(In reply to OpenSpeedTest.com from comment #3)
> You said it is firing every 50ms which is good. but in my case i added a
> delay of 100Ms delay for new requests and it worked without issue. So i
> think if there is pending request (For a speed test there will be always few
> pending requests will be there) it will not fire upload progress event and
> quickly go to OnLoad event.

Note I was quoting the spec, not describing current WebKit behaviour.


(In reply to Alexey Proskuryakov from comment #4)
> This seems like desirable and correct behavior at a first glance. Running
> extra JavaScript code for such a quick load seems unnecessary and
> potentially bad for performance.

Definitely per spec it should always fire at least once.

It also seems like something where we're likely to end up with a worse user experience (one can trivially imagine plenty of sites failing to test the case when it never fires).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210918/cde907b3/attachment.htm>


More information about the webkit-unassigned mailing list