Created attachment 362646 [details] File paste. Left: Safari, Right: Chrome To reproduce: 1. Copy an image to the clipboard and paste it into a contenteditable element. 2. Inspect the "paste" event and note that it contains the pasted file in its clipboardData. 3. Inspect the "beforeinput" or "input" event and note that its dataTransfer has no files. (The dataTransfer does have text/html with a mostly unusable <img src="blob:…"> element, which may be a separate issue) Examples: - Visit https://input-inspector.now.sh/profiles/QVByHqieNlP2I6j0THUr to see example paste data using Safari 12.0.3. - For comparison, visit https://input-inspector.now.sh/profiles/puEtJKhSeFz3IVNweSf2 to see the same paste in Chrome 72. - Or, view the attached screenshot of both.
<rdar://problem/48292715>
I am able to reproduce this issue in Safari 15.5 on macOS 12.4 but Chrome Canary 104 does not matches with the attached screenshots in behaviour. In Chrome Canary 104, after pasting - Input remains empty and only "beforeinput" has screenshots details. Firefox Nightly 103 shows data about pasted picture in both "input" and "beforeinput" fields. Thanks!