Bug 178253

Summary: "text/html" data is not exposed when dragging and dropping across origins
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: HTML EditingAssignee: Wenson Hsieh <wenson_hsieh>
Severity: Normal CC: buildbot, cdumez, commit-queue, dbates, esprehn+autocc, kangil.han, rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch none

Description Wenson Hsieh 2017-10-12 22:13:22 PDT
Test case:

1. Download http://whsieh.github.io/examples/custom-pasteboard-data.html to a local file and open it
2. Open http://whsieh.github.io/examples/custom-pasteboard-data.html in a separate window
3. Drag the "Custom Drag" element from one window to the other.

Observed: "text/html" does not appear in the output area.
Expected: "text/html" should be exposed.
Comment 1 Wenson Hsieh 2017-10-12 22:14:22 PDT
In DataTransfer::setDataFromItemList(), we need to handle the case where the type is "text/html".
Comment 2 Radar WebKit Bug Importer 2017-10-12 22:19:59 PDT
Comment 3 Wenson Hsieh 2017-10-12 23:02:22 PDT
Created attachment 323640 [details]
Comment 4 Wenson Hsieh 2017-10-12 23:03:13 PDT
(Diff looks way bigger than the change really is due to renaming)
Comment 5 Wenson Hsieh 2017-10-12 23:46:55 PDT
Comment on attachment 323640 [details]

Thanks for the review!
Comment 6 WebKit Commit Bot 2017-10-13 00:14:33 PDT
Comment on attachment 323640 [details]

Clearing flags on attachment: 323640

Committed r223278: <https://trac.webkit.org/changeset/223278>
Comment 7 WebKit Commit Bot 2017-10-13 00:14:35 PDT
All reviewed patches have been landed.  Closing bug.