Changeset 269875 in webkit
- Timestamp:
- Nov 16, 2020 1:45:15 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r269872 r269875 1 2020-11-16 Alex Christensen <achristensen@webkit.org> 2 3 FileReaderLoader::convertToDataURL should use application/octet-stream if MIME type is empty 4 https://bugs.webkit.org/show_bug.cgi?id=218993 5 6 Reviewed by Geoffrey Garen. 7 8 * fast/files/read-blob-async-expected.txt: 9 * fast/files/workers/worker-read-blob-async-expected.txt: 10 * fast/files/workers/worker-read-blob-sync-expected.txt: 11 1 12 2020-11-13 Ryan Haddad <ryanhaddad@apple.com> 2 13 -
trunk/LayoutTests/fast/files/read-blob-async-expected.txt
r267644 r269875 65 65 Received load event 66 66 readyState: 2 67 result size: 2168 result: data: ;base64,Rmlyc3Q=67 result size: 45 68 result: data:application/octet-stream;base64,Rmlyc3Q= 69 69 Received loadend event 70 70 Test reading a blob containing single text as data URL (optional content type provided) -
trunk/LayoutTests/fast/files/workers/worker-read-blob-async-expected.txt
r267644 r269875 66 66 Received load event 67 67 readyState: 2 68 result size: 2169 result: data: ;base64,Rmlyc3Q=68 result size: 45 69 result: data:application/octet-stream;base64,Rmlyc3Q= 70 70 Received loadend event 71 71 Test reading a blob containing single text as data URL (optional content type provided) -
trunk/LayoutTests/fast/files/workers/worker-read-blob-sync-expected.txt
r267644 r269875 28 28 Received exception undefined: TypeError 29 29 Test reading a blob containing single text as data URL 30 result size: 2131 result: data: ;base64,Rmlyc3Q=30 result size: 45 31 result: data:application/octet-stream;base64,Rmlyc3Q= 32 32 Received exception undefined: TypeError 33 33 Test reading a blob containing single text as data URL (optional content type provided) -
trunk/LayoutTests/imported/w3c/ChangeLog
r269866 r269875 1 2020-11-16 Alex Christensen <achristensen@webkit.org> 2 3 FileReaderLoader::convertToDataURL should use application/octet-stream if MIME type is empty 4 https://bugs.webkit.org/show_bug.cgi?id=218993 5 6 Reviewed by Geoffrey Garen. 7 8 * web-platform-tests/FileAPI/reading-data-section/filereader_readAsDataURL-expected.txt: 9 1 10 2020-11-16 Yusuke Suzuki <ysuzuki@apple.com> 2 11 -
trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/reading-data-section/filereader_readAsDataURL-expected.txt
r268054 r269875 2 2 PASS FileReader readyState during readAsDataURL 3 3 PASS readAsDataURL result for Blob with specified MIME type 4 FAIL readAsDataURL result for Blob with unspecified MIME type assert_equals: expected "data:application/octet-stream;base64,VEVTVA==" but got "data:;base64,VEVTVA==" 4 PASS readAsDataURL result for Blob with unspecified MIME type 5 5 -
trunk/Source/WebCore/ChangeLog
r269873 r269875 1 2020-11-16 Alex Christensen <achristensen@webkit.org> 2 3 FileReaderLoader::convertToDataURL should use application/octet-stream if MIME type is empty 4 https://bugs.webkit.org/show_bug.cgi?id=218993 5 6 Reviewed by Geoffrey Garen. 7 8 This matches Chrome and Firefox, and is covered by a web platform test. 9 10 * fileapi/FileReaderLoader.cpp: 11 (WebCore::FileReaderLoader::convertToDataURL): 12 1 13 2020-11-16 Megan Gardner <megan_gardner@apple.com> 2 14 -
trunk/Source/WebCore/fileapi/FileReaderLoader.cpp
r268228 r269875 347 347 } 348 348 349 builder.append(m_dataType); 349 if (m_dataType.isEmpty()) 350 builder.append("application/octet-stream"); 351 else 352 builder.append(m_dataType); 350 353 builder.appendLiteral(";base64,"); 351 354
Note: See TracChangeset
for help on using the changeset viewer.