Closed
Bug 786953
Opened 13 years ago
Closed 11 years ago
XHR upload progress event not working for dropped files
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: guenther, Unassigned)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
183.53 KB,
application/octet-stream
|
Details |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0
Build ID: 20120825192214
Steps to reproduce:
I attached a simple test script for the bug I experience with Firefox 15.
The script includes a drag & drop uploader.
1. Drop any files from your system into the div element or simply all files included in the attached archive.
2. An XHR request will be made to a PHP file which uploads all your dropped files into the uploads folder.
3. A progress for each dropped file will be displayed.
Before, in Firefox 14, this script worked perfectly for any file (like it still does in Google Chrome or Internet Explorer 10). Since Firefox 15 the xhr.upload.onprogress Event doesn't fire properly anymore. It seems to only fire on images and sometimes it stops firing suddenly, so the progress calculated ends up with let's say 70%.
In any case, all files will be uploaded properly. Only the xhr.upload.onprogress behaves strangely since Firefox 15.
Component: Untriaged → DOM: Mozilla Extensions
Product: Firefox → Core
Keywords: regression,
regressionwindow-wanted
Comment 1•13 years ago
|
||
Dan, would you be willing to use http://harthur.github.com/mozregression/ to narrow down when the problem appeared? I totally understand if you don't have time to...
If you don't, is the actual server setup being used here available for testing against?
| Reporter | ||
Comment 2•13 years ago
|
||
Well, I took the time and used mozregression (Windows 7) but without success. I even tested a nightly build from march 2011 with the test script attached. Last week, I uninstalled Firefox 15 on a Windows 7 virtual machine and installed Firefox 14 instead. The script worked at this time (actually, I created this script based on full functionality for Firefox 14, Google Chrome and Internet Explorer 10)!
Whatever, today I updated to Firefox 15 again to check it still doesn't work before I test with mozregression and after I uninstalled Firefox 15 again and reinstalled version 14, it now doesn't work either...I guess I broke something. Whatever, I know it worked someday before Firefox 15. :)
I use Ubuntu 12.04.1 LTS with Apache 2.2.22 installed. PHP is 5.4.4-1~oneiric+1. Apache and PHP setups are mostly default. I test in a local network on a Windows 7 x32 virtual machine. Windows 7 setup is also mostly default. During my development I used Firefox 14.0.1 on both, Ubuntu and Windows 7.
The problem isn't much of a deal for me as I can still fetch when the file is uploaded completely and display a 100% progress bar no matter what happened before (onreadystatechange event still works). When it comes to uploading bigger files, a growing progress bar looks better than a broken or no bar. So fixing this bug would only make the user waiting more comfortable, but won't change the functionality of what I actually do.
I hope anyone can reproduce this issue. I guess my test script is pretty clear and standardized. Thanks!
| Assignee | ||
Updated•12 years ago
|
Component: DOM: Mozilla Extensions → DOM
Comment 3•12 years ago
|
||
I think this is just a specific case of bug 908375, so I'm marking as dup. We should however make sure to test this when we've fixed that..
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Comment 4•12 years ago
|
||
Marking dependent is probably a better way to track that. Easier to remember to retest.
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → WORKSFORME
Comment 5•11 years ago
|
||
Updated•10 years ago
|
Keywords: regressionwindow-wanted
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•