In Chrome and Firefox, the types (and their data) are accessible during dragstart.
<rdar://problem/61368402>
Created attachment 400900 [details] For EWS
Comment on attachment 400900 [details] For EWS View in context: https://bugs.webkit.org/attachment.cgi?id=400900&action=review > Source/WebCore/platform/StaticPasteboard.cpp:104 > + m_customData.writeString("text/html", markup); Could append _s to the string literal. > Source/WebCore/platform/StaticPasteboard.cpp:109 > + m_customData.writeString("text/plain", text); Ditto. > Source/WebCore/platform/StaticPasteboard.cpp:114 > + m_customData.writeString("text/uri-list", url.url.string()); Ditto.
Comment on attachment 400900 [details] For EWS View in context: https://bugs.webkit.org/attachment.cgi?id=400900&action=review >> Source/WebCore/platform/StaticPasteboard.cpp:104 >> + m_customData.writeString("text/html", markup); > > Could append _s to the string literal. Done! >> Source/WebCore/platform/StaticPasteboard.cpp:109 >> + m_customData.writeString("text/plain", text); > > Ditto. 👍🏻 >> Source/WebCore/platform/StaticPasteboard.cpp:114 >> + m_customData.writeString("text/uri-list", url.url.string()); > > Ditto. 👍🏻
Created attachment 400950 [details] Patch for landing
Committed r262507: <https://trac.webkit.org/changeset/262507> All reviewed patches have been landed. Closing bug and clearing flags on attachment 400950 [details].