- From: peminator <notifications@github.com>
- Date: Tue, 11 Jul 2023 02:26:40 -0700
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 11 July 2023 09:26:44 UTC
Browsers should fire readystatechange to interactive on clicking link, and back to complete if original document remains displayed - if the link url is attachment (binary file, zip, ...) causing the browser keep the original document displayed At that point browser knows link was not a document and keeps the original content, there is no way to easy tell (usable for example to show download "spinner" element on click link, and to know when to hide that spinner, on receiving this event Reason: many downloads are either on archive server with long time to first response, or link points to content generators (for example pdf files) where time to first byte of response data may be many seconds, and would be nice to have standardized and easy way to tell by some event Expected: readystatechange interactive on link click readystatechange complete on end of wait period of transfer (when first data od response is received) Most browsers display spinner for the same period in tab or window title, but expose not easy event to tell when navigation to download receives data -- Reply to this email directly or view it on GitHub: https://github.com/w3c/uievents/issues/355 You are receiving this because you are subscribed to this thread. Message ID: <w3c/uievents/issues/355@github.com>
Received on Tuesday, 11 July 2023 09:26:44 UTC