Bug 171504

Summary: Reading a pasted file from Finder throws a WebKitBlobResource error
Product: WebKit Reporter: Alfonso Martínez de Lizarrondo <amla70>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, cdumez, megan_gardner, mehdi.chaabouni, rniwa, simon.fraser, wenson_hsieh
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Mac   
OS: macOS 10.12   
Attachments:
Description Flags
Demo page none

Description Alfonso Martínez de Lizarrondo 2017-05-01 12:02:12 PDT
Created attachment 308742 [details]
Demo page

Create a test page that checks for pasted files with an onpaste handler and check if there are pasted files.
In Safari and webkit nightly, trying to use a FileReader with that file throws a "Failed to load resource: The operation couldn’t be completed. (WebKitBlobResource error 4.)" error in the console.

Demo available also at
http://www.martinezdelizarrondo.com/bugs/paste.html