[whatwg/xhr] Should sync XHR fire a progress event? (#207)

https://xhr.spec.whatwg.org/commit-snapshots/02600c40359bd70229606c33b3e2ca27308ffb04/#ref-for-concept-event-fire-progress⑦

> Fire a progress event named progress with transmitted and length\.

This appears to imply that the progress event is fired even when the synchronous flag is set.

I have been investigating Chromium issue https://crbug.com/402986 which is about Chromium not firing this event for sync XHR. I checked in Chrome, Firefox, Safari, IE and Edge, and only Firefox ever fires a progress event for sync XHR, and even then only about 50% of the time.

I would prefer to change the standard to not fire a progress event for sync XHR, to match the majority behaviour.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/207

Received on Monday, 7 May 2018 12:42:54 UTC