Opened 9 years ago
Closed 7 years ago
#32438 closed defect (bug) (invalid)
Drag & Drop media uploader breaks in FireFox Developer Edition 40.0a2 (2015-05-18)
Reported by: | Jacotheron | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.2.2 |
Component: | Upload | Keywords: | |
Focuses: | Cc: |
Description
Summary:
When dragging the image into the drop area, the file is added to the list to upload, but the upload never happens - Immediate "HTTP error"
What have I tried:
I debugged the WordPress install using the recommended methods (disabled plugin, modifying chmod, added .htaccess rules, increased memory, increased upload & post sizes, tested on different servers including production, staging, and local vagrant installs). Nothing works, although it previously worked.
I continued the debugging, and found that:
- Browser Uploader works
- Clicking inside the Drag & Drop area and select image(s) works
- Dragging any file into the Drop area resulted in an immeditate "HTTP error"
I continued to compare the requests (using FireBug) - they are identical (only difference was the boundry value). Their Post data length was the same (although I was not able to see and compare the data itself).
In the Dragged File's request, there was no response (request is sent, but no reply, not even response headers). I even modified the receiving php file to quit immediately with a message (message did not come through). Making a manual request to the receiving file resulted in a WordPress branded error (which is expected).
I continued and tested it in my other browsers, all other browsers worked as expected.
Conclusion:
It affects only FireFox Developer Edition (after it updated to version 40.0a2).
Possible Cause:
It could be a change in how Firefox handles files being dropped onto a website.
Additional Info:
This issue also affects other websites (like Shopify specifically), however Google have already solved it on Google+ (which is why I believe it is just a minor change in Firefox's API; if it is an API change, it would be nice to have it work when Firefox Stable updates in about 5-6 weeks).
I am using a Windows computer for Firefox, WordPress 4.2.2 (running on Linux installs, either via VVV, or Remotely), PHP versions 5.5 and 5.6, Apache and Nginx servers.
I tried multiple different files, file types and file sizes, works only when selecting through the file selection interface.
Change History (8)
#3
@
9 years ago
Hi Jacotheron, do you happen to know if you enabled e10s (the new multiprocess stuff)? Can you test again from a non-e10s window? There should be an option like File > New non-e10s Window (I think).
#5
@
9 years ago
In my report, initial issue detection, all tests and debugging were done with e10s enabled.
As per @miketaylr I tested again with e10s disabled, it worked.
I have the issue on 2 computers, (Windows 8.1 Update 64bit and Windows 7 Professional SP1 64bit).
Using e10s disabled (if it works) is an acceptable workaround for now.
#6
@
9 years ago
@anubisthejackle Working on a trust-but-verify philosophy, could you possibly re-test as well? We've got a couple lovely Mozilla/Firefox compat people with eyes on this, want to make sure they don't need to further tear their hair out :)
I'm on 40.0a2, build 20150517004004 - not able to reproduce on OSX. Perhaps specific to Windows, though - would be nice if somebody else could test that.