Bug 84514 - REGRESSION(r105396): Can not drag and drop text while composing an iCloud.com email
Summary: REGRESSION(r105396): Can not drag and drop text while composing an iCloud.com...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Evangelism (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-20 16:56 PDT by Adele Peterson
Modified: 2012-08-01 10:09 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adele Peterson 2012-04-20 16:56:47 PDT
REGRESSION(r105396): Can not drag and drop text while composing an iCloud.com email

- Log into icloud.com
- Compose an email with multiple lines
- select a line of text and try to drag it to the beginning of the message.

Observe a "Cannot upload attachment" error message alert.

Regressed in http://trac.webkit.org/changeset/105396
Comment 1 Ryosuke Niwa 2012-04-26 23:17:36 PDT
This might be a bug on iCloud. http://trac.webkit.org/changeset/105396 changed WebKit so that it fires drop event on edit drag.

My guess is that iCloud isn't checking types attribute on the dataTransfer interface:
http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dom-datatransfer-types
Comment 2 Ryosuke Niwa 2012-04-26 23:30:11 PDT
Unfortunately, I can't seem to create an iCloud account so I can't verify this myself.
Comment 3 Ryosuke Niwa 2012-07-31 21:18:27 PDT
I've confirmed my diagnose. iCloud.com is considering all drop events to be files drops, which isn't necessarily the case.
Comment 4 Ryosuke Niwa 2012-07-31 21:19:29 PDT
The question is whether we should consider this is a compatibility issue, revert the change, and ask whatwg/W3C to change the spec, or we should contact iCloud.com to change "fix" their website.
Comment 5 Adele Peterson 2012-08-01 10:08:56 PDT
iCloud is going to fix this on their end.  Resolving.
Comment 6 Ryosuke Niwa 2012-08-01 10:09:21 PDT
(In reply to comment #5)
> iCloud is going to fix this on their end.  Resolving.

Great! Thanks for the follow up.