[Webkit-unassigned] [Bug 187510] New: [FileAPI] FileReader.readAsArrayBuffer(null) should throw a Type Error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 10 00:35:26 PDT 2018


            Bug ID: 187510
           Summary: [FileAPI] FileReader.readAsArrayBuffer(null) should
                    throw a Type Error
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zac.spitzer at gmail.com

Webkit currently just returns, all other major browsers do a type check and throw an error

var reader = new FileReader();
reader.onloadend = function(e) {



Here is the Chrome commit which added type checking for FileReader

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180710/f86f693d/attachment-0001.html>

More information about the webkit-unassigned mailing list