Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 0608392ae72e8a6c652e8cd407d0cceade20e3c2 https://github.com/WebKit/WebKit/commit/0608392ae72e8a6c652e8cd407d0cceade20e3c2 Author: Youenn Fablet <you...@apple.com> Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths: M Source/WebCore/fileapi/FileReaderLoader.cpp M Source/WebCore/fileapi/FileReaderLoader.h Log Message: ----------- NotReadableError: The I/O read operation failed for large files of size 4G+ https://bugs.webkit.org/show_bug.cgi?id=272600 rdar://126863800 Reviewed by Alex Christensen. FileReaderLoader is limiting the size of data that can be read. This restriction is not needed when reading data via a ReadableStream. We stop allocating a buffer in FileReaderLoader for ReadType::ReadAsBinaryChunks as this is unnecessary. Instead, we let the client store the buffers. Manually tested for big files. * Source/WebCore/fileapi/FileReaderLoader.cpp: (WebCore::FileReaderLoader::didReceiveResponse): * Source/WebCore/fileapi/FileReaderLoader.h: Canonical link: https://commits.webkit.org/278457@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes