Enable drag-and-drop of JavaScript File objects across browser and native app boundaries
- Category
- Miscellaneous
- Type
- New or changed feature
- Status
- Proposed (Chrome Proposed)
- Intent stage
- None
Summary
Drag-and-drop of JavaScript File objects does not currently work across browser boundaries or between Chromium-based browsers and native applications. As a result, common user scenarios are unsupported, including: * Drag-and-drop between Chromium-based browsers (e.g., Outlook Web → OneDrive or Dropbox web apps) * Drag-and-drop between WebView-based applications (e.g., new Outlook → Microsoft Teams) * Drag-and-drop between Chromium and native applications (e.g., Outlook Web → OneDrive, Word, or PowerPoint native apps) Supporting drag-and-drop of JavaScript File objects is a cleaner and standards-aligned approach. However, Chromium currently limits this support to image MIME types and same-process scenarios. In contrast, other browsers (such as Firefox) already support dragging JavaScript File objects across browser boundaries.
Motivation
Drag-and-drop is a natural and widely used interaction in desktop environments, allowing users to easily move files between the operating system shell, browsers, and applications. However, several common drag-and-drop workflows are currently unsupported, including drag-and-drop: * Between Chromium-based browsers * Between Chromium and native applications * Between Chromium and other browsers (e.g., Firefox) As a result, users cannot complete common workflows such as dragging email attachments from Outlook or Gmail into cloud storage services like OneDrive, Google Drive, or Dropbox, or dragging files back into web-based email or productivity applications. Enabling drag-and-drop of JavaScript File objects addresses these gaps in a standards-aligned way and allows these cross-application and cross-browser scenarios to work reliably.
Standards & signals
- Specification: https://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#dom-datatransfer-files
- Firefox: Shipped/Shipping
- Safari: No signal
- Web developers: Strongly positive
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=enable-drag-and-drop-of-javascript-file-objects-across-browser-and-native-app-boundaries
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Enable%20drag-and-drop%20of%20JavaScript%20File%20objects%20across%20browser%20and%20native%20app%20boundaries
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Enable%20drag-and-drop%20of%20JavaScript%20File%20objects%20across%20browser%20and%20native%20app%20boundaries
- Baseline status: https://webstatus.dev/?q=Enable%20drag-and-drop%20of%20JavaScript%20File%20objects%20across%20browser%20and%20native%20app%20boundaries