New issue
Advanced search Search tips

Issue 853136 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

XMLHttpRequest with upload network throttling enabled does not report progress

Reported by ras...@mindplay.dk, Jun 15 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Steps to reproduce the problem:
1. Enable network throttling (with a profile that limits upload speed)
2. Open this sample page: http://jsfiddle.net/8uysb5mg/19/
3. Drag a file over the gray box
4. Watch for progress events in the console

What is the expected behavior?
Progress events should fire while the file is uploading

What went wrong?
There is one progress event for 100% progress at the end of the upload, but progress events do not fire during the upload.

Did this work before? N/A 

Chrome version: 67.0.3396.87  Channel: stable
OS Version: 10.0
Flash Version:
 
Components: Blink>Network>XHR
Drive-by note: I checked to see if this was related to site isolation, since the file upload area is in an OOPIF, but this also reproes with site isolation turned off (via chrome://flags/#site-isolation-trial-opt-out).  Not sure if this is a new issue or a regression.
Labels: Needs-Triage-M67

Comment 3 by ricea@chromium.org, Jun 18 2018

Components: -Platform>DevTools -Blink>Network>XHR Platform>DevTools>Network
Status: Untriaged (was: Unconfirmed)
The original repro has a bug: it hooks xhr.onprogress instead of xhr.upload.onprogress. Here is a version with the bug fixed: http://jsfiddle.net/arjfz8em/.

Rather than get one progress event at the end, I get regular progress events, but the percentage is 0 every time. Without network throttling, the percentages increase as expected.

Sending to Platform>DevTools>Network for triage.
Owner: eostroukhov@chromium.org
Status: Assigned (was: Untriaged)
Owner: jarhar@chromium.org

Sign in to add a comment