Bug 212136

Summary: REGRESSION(r261554): [GTK] Version 2.29.1 crashes using drag-n-drop API
Product: WebKit Reporter: Guilaume Ayoub <guillaume.webkit>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, bugs-noreply, cgarcia
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch aperez: review+

Description Guilaume Ayoub 2020-05-20 07:26:22 PDT
When using the drag-n-drop API, Epiphany with WebKitGTK 2.29.1 crashes. Previous versions of WebKitGTK were working.

Example: https://jsbin.com/hiqasek/edit?html,js,output

- Epiphany 3.37.1
- WebKitGTK 2.29.1
Comment 1 Carlos Garcia Campos 2020-05-20 08:22:58 PDT
Right, I forgot to handle selection data in Pasteboard::read taking a PasteboardFileReader.
Comment 2 Carlos Garcia Campos 2020-05-20 08:24:50 PDT
Created attachment 399840 [details]
Patch
Comment 3 Carlos Garcia Campos 2020-05-20 09:00:06 PDT
Committed r261923: <https://trac.webkit.org/changeset/261923>
Comment 4 Guilaume Ayoub 2020-05-20 16:04:46 PDT
That was really, really fast. Thank you ♥, the patch works perfectly!