Bug 228004

Summary: Sync XHR 'load' event is always has total/loaded=0
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Page LoadingAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, darin, ggaren, sam, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2021-07-15 13:54:50 PDT
Sync XHR 'load' event is always has total/loaded=0. It should reflect the actual amount of data transferred. This is causing the following WPT test to fail in WebKit: - http://wpt.live/xhr/send-sync-response-event-order.htm This test is passing in Firefox and Chrome.
Attachments
Patch (6.10 KB, patch)
2021-07-15 13:57 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-07-15 13:57:57 PDT
Alex Christensen
Comment 2 2021-07-15 15:43:10 PDT
Comment on attachment 433622 [details] Patch As much as I hate improving sync xhr, this is probably good.
EWS
Comment 3 2021-07-15 15:52:59 PDT
Committed r279967 (239710@main): <https://commits.webkit.org/239710@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433622 [details].
Radar WebKit Bug Importer
Comment 4 2021-07-15 15:53:16 PDT
Note You need to log in before you can comment on or make changes to this bug.