Bug 174074 - DataEvent.dataTransfer.setData('text/uri-list', '...') with multi file links missing \u000D\u000A
Summary: DataEvent.dataTransfer.setData('text/uri-list', '...') with multi file links ...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-01 22:17 PDT by veiky
Modified: 2017-07-02 02:03 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description veiky 2017-07-01 22:17:17 PDT
I have found a bug in Chrome(Webkit) when drag multi links out of chrome, the \u000D\u000A between uris missing...  the MIME type is text/uri-list...   the function i've called is onDragStart(event){
   event.dataTransfer.setData('text/uri-list', 'file:///D:/xxx.mov\r\nfile:///D:/yyy.mov\r\nfile:///D:/zzz.mov');
}
Comment 1 Alexey Proskuryakov 2017-07-02 02:03:16 PDT
Chrome uses a forked version of WebKit that is several years old. Its behavior is different, especially on Windows.

Please feel free to reopen if this reproduces in any up to date browser that uses WebKit.