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.
Created attachment 433622 [details] Patch
Comment on attachment 433622 [details] Patch As much as I hate improving sync xhr, this is probably good.
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].
<rdar://problem/80655750>