support proposed DownloadURL format string on DataTransfer object
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, enhancement)
Tracking
()
People
(Reporter: alessandro.vescovi, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: parity-chrome)
Comment 1•15 years ago
|
||
Updated•15 years ago
|
Comment 3•15 years ago
|
||
Comment 6•15 years ago
|
||
Comment 8•15 years ago
|
||
Comment 9•15 years ago
|
||
Updated•15 years ago
|
Comment 10•15 years ago
|
||
Comment 11•15 years ago
|
||
Comment 12•14 years ago
|
||
Comment 14•13 years ago
|
||
Comment 16•5 years ago
|
||
Bulk-downgrade of unassigned, untouched DOM/Storage bug's priority.
If you have reason to believe, this is wrong, please write a comment and ni :jstutte.
Comment 17•4 years ago
|
||
This affects macOS too. The example given in #c14, drag-and-dropping from Gmail to the file manager, doesn't work with Firefox. Works with Chrome.
On Ubuntu, it doesn't work with Chrome either.
Updated•4 years ago
|
Comment 18•4 years ago
•
|
||
Safari doesn't support this.
Chrome seems to block cross-origin downloads (which makes sense).
Updated•4 years ago
|
Comment 19•4 years ago
•
|
||
When this is implemented in Gecko, perhaps a test from Chromium can be lifted to a WPT.
Comment 20•4 years ago
|
||
Mirko asked me out of band, if there are security concerns. I'm not too worried about the functionality in itself, but of course we'll need a sound implementation to handle e.g., the cross-origin cases correctly..
Comment 21•4 years ago
|
||
For the record, some insights from a discussion with :jgraham, about writing automatic tests for this issue:
- Writing a WPT which drops to the OS is currently not supported. A long time ago, something similar was written for Opera and the code was apparently "a nightmare".
- Perhaps a test for D&D within the browser can be written as a Mochitest.
- Presumably, such a Mochitest could be transformed to a mozilla specific WPT. And perhaps later be lifted to a WPT.
- Directly writing a mozilla-specific WPT using
SpecialPowers
is not possible, because some D&D test-code is Mochitest-specific (synthesizePlainDragAndDrop
,promiseNativeMouseDrag
).
Updated•4 years ago
|
Updated•3 years ago
|
Description
•