jquery-form / jquery-form/form
uploadProgress function not working in Microsoft Edge
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.1k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
This just started recently, probably after an update to either Edge or Windows 10.
The uploadProgress function is not triggering until the upload is complete. It works fine in Chrome, Firefox and Internet Explorer. I've just downloaded the latest version of jquery.form.js and the issue is the same.
uploadProgress: function (event, position, total, percentComplete) {
if (running === false) {
running = true;
parent.postMessage("status|running","*");
}
var percentValue = percentComplete + '%';
bar.width(percentValue);
bar.html(percentValue);
},
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in jquery.form.js and inspect how the uploadProgress callback is wired for XMLHttpRequest uploads. Reproduce the reported behavior in Microsoft Edge using the supplied callback, comparing it with Chrome, Firefox, and Internet Explorer. Done means progress callbacks fire during the upload rather than only after completion, without regressing the other browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100