Bug 258043

Summary: readAsDataURL.readAsDataURL() is incorrect for empty blobs
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore JavaScriptAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2023-06-13 13:37:01 PDT
readAsDataURL.readAsDataURL() is incorrect for empty blobs. Our behavior doesn't match Chrome or Firefox and causes us to fail
the FileAPI/reading-data-section/filereader_readAsDataURL.any.html WPT test.
Comment 1 Chris Dumez 2023-06-13 13:39:27 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14933
Comment 2 EWS 2023-06-14 08:07:05 PDT
Committed 265153@main (7e2fcfdc82fa): <https://commits.webkit.org/265153@main>

Reviewed commits have been landed. Closing PR #14933 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-06-14 08:08:17 PDT
<rdar://problem/110776656>