Closed
Bug 1278946
Opened 9 years ago
Closed 9 years ago
Image data exists in dataTransfer when no image is present
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox47 | --- | unaffected |
firefox48 | --- | unaffected |
firefox49 | --- | unaffected |
firefox50 | --- | affected |
People
(Reporter: enndeakin, Unassigned)
References
Details
(Keywords: regression, Whiteboard: btpp-followup-2016-06-15)
Attachments
(1 file)
3.87 KB,
text/html
|
Details |
1. Open the attachment.
2. Select a text file from your filesystem (Finder) and copy it to the clipboard
3. Click on the blue paste box in the testcase
4. Paste there
Actual:
- the test dumps out the contents of dataTransfer. The data includes image types, yet no image is present.
Expected:
- just the file data should be present
Reproducable on Mac as least.
Reporter | ||
Updated•9 years ago
|
status-firefox47:
--- → unaffected
status-firefox48:
--- → unaffected
status-firefox49:
--- → unaffected
status-firefox50:
--- → affected
Reporter | ||
Comment 1•9 years ago
|
||
The data also includes all three image types (gif, png, jpeg) regardless of what type of image, if any, is actually provided by the clipboard.
Comment 2•9 years ago
|
||
Michael, can you please take a look?
Flags: needinfo?(michael)
Whiteboard: btpp-followup-2016-06-15
Comment 3•9 years ago
|
||
The additional formats are present intentionally. The image data is transcoded to each of the different types for the application's convenience. If we want to only provide a single type (say PNG), that is a different matter.
With regard to copying files from finder to the clipboard, we currently don't support copying files. The images you are seeing on OSX are actually the icons for the file. Chrome also provides the PNG version of these icons to the website as well, so we should be web-compatible with this behavior (although it is unfortunate).
Flags: needinfo?(michael)
Comment 4•9 years ago
|
||
Closing as wontfix for now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•9 years ago
|
Version: unspecified → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•