Bug 217726 - Drop event not firing when dragging file from MacOS Mail app
Summary: Drop event not firing when dragging file from MacOS Mail app
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 14
Hardware: Mac macOS 10.15
: P2 Minor
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-14 13:02 PDT by owain
Modified: 2020-10-14 17:49 PDT (History)
2 users (show)

See Also:


Attachments
Example file (1.66 KB, text/html)
2020-10-14 13:02 PDT, owain
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description owain 2020-10-14 13:02:21 PDT
Created attachment 411366 [details]
Example file

When trying to drag a .eml file from the mail app to a DOM element in Safari 14.0.1 that's listening for drag/drop events, the drop event does not fire as expected (Drop event fires in latest Chrome).

Steps to Reproduce

---------------------------------------------------------------

Safari
- Open Attachment (example.html)
- Open web inspector tool and click on console

#1
- Drag file from desktop to the drop container (DOM element)
- Observe drop event DOES fire.

#2
- Drag .eml file from mail app to the drop container (DOM element)
- Observe drop event DOES NOT fire.


Expected Result: Drop event should fire in scenario #2.
Actual Result: Drop event does not fire at all.

---------------------------------------------------------------

Chrome
- Open Attachment (example.html) in Chrome
- Open web inspector tool and click on console

#1
- Drag file from desktop to the drop container (DOM element)
- Observe drop event DOES fire.

#2
- Drag .eml file from mail app to the drop container (DOM element)
- Observe drop event DOES fire.

Expected Result: Drop event should fire in scenario #2.
Actual Result: Drop event fires correctly.
Comment 1 Radar WebKit Bug Importer 2020-10-14 17:49:03 PDT
<rdar://problem/70315587>