Bug 258043 - readAsDataURL.readAsDataURL() is incorrect for empty blobs
Summary: readAsDataURL.readAsDataURL() is incorrect for empty blobs
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore JavaScript (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-13 13:37 PDT by Chris Dumez
Modified: 2023-06-14 08:08 PDT (History)
1 user (show)

See Also:


Attachments

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