Bug 171504 - Reading a pasted file from Finder throws a WebKitBlobResource error
Summary: Reading a pasted file from Finder throws a WebKitBlobResource error
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac macOS 10.12
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-01 12:02 PDT by Alfonso Martínez de Lizarrondo
Modified: 2017-05-03 17:25 PDT (History)
7 users (show)

See Also:


Attachments
Demo page (2.74 KB, text/html)
2017-05-01 12:02 PDT, Alfonso Martínez de Lizarrondo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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