[Webkit-unassigned] [Bug 25916] New: WebKit should expose files from the pasteboard in drop events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 21 01:24:56 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25916
Summary: WebKit should expose files from the pasteboard in drop
events
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
CC: mjs at apple.com, darin at apple.com, sam at webkit.org
WebKit should expose files from the pasteboard in drop events
This would make it possible for applications like gmail to implement
drag and drop of attachments onto email messages.
We will need to follow the HTML5 drag and drop security model:
http://www.w3.org/TR/html5/editing.html#security-risks-in-the-drag-and-drop-model
Internet Explorer shows historical documentation of supporting
getData('File') as a way of exposing files on the pasteboard. The current
version of their docs:
http://msdn.microsoft.com/en-us/library/ms537658(VS.85).aspx
has removed this reference (likely IE never implemented it)
I have a printed copy on my desk from 2008 describing getData('File') in IE.
Mozilla has equivalent file access:
event.dataTransfer.mozGetDataAt("application/x-moz-file", 0);
which also does not return a typed value.
https://developer.mozilla.org/En/DragDrop/Recommended_Drag_Types#Dragging_Files
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list