Changeset 270269 in webkit
- Timestamp:
- Nov 30, 2020 3:15:10 PM (20 months ago)
- Location:
- trunk
- Files:
-
- 9 edited
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/FileAPI/url/url-with-fetch.any-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/FileAPI/url/url-with-fetch.any.worker-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/FileAPI/url/url-with-xhr.any-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/FileAPI/url/url-with-xhr.any.worker-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/FileAPI/url/url-with-fetch.any-expected.txt (modified) (1 diff)
-
LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/FileAPI/url/url-with-fetch.any.worker-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/platform/network/BlobRegistryImpl.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r270252 r270269 1 2020-11-30 Alex Christensen <achristensen@webkit.org> 2 3 Allow blob URLs with fragments 4 https://bugs.webkit.org/show_bug.cgi?id=219361 5 6 Reviewed by Darin Adler. 7 8 * web-platform-tests/FileAPI/url/url-with-fetch.any-expected.txt: 9 * web-platform-tests/FileAPI/url/url-with-fetch.any.worker-expected.txt: 10 * web-platform-tests/FileAPI/url/url-with-xhr.any-expected.txt: 11 * web-platform-tests/FileAPI/url/url-with-xhr.any.worker-expected.txt: 12 1 13 2020-11-30 Youenn Fablet <youenn@apple.com> 2 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/url/url-with-fetch.any-expected.txt
r267651 r270269 1 1 2 2 PASS Blob URLs can be used in fetch 3 FAIL fetch with a fragment should succeed promise_test: Unhandled rejection with value: object "TypeError: The operation couldn’t be completed. (WebKitBlobResource error 1.)" 3 PASS fetch with a fragment should succeed 4 4 PASS fetch of a revoked URL should fail 5 5 PASS Only exact matches should revoke URLs, using fetch -
trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/url/url-with-fetch.any.worker-expected.txt
r267651 r270269 1 1 2 2 PASS Blob URLs can be used in fetch 3 FAIL fetch with a fragment should succeed promise_test: Unhandled rejection with value: object "TypeError: The operation couldn’t be completed. (WebKitBlobResource error 1.)" 3 PASS fetch with a fragment should succeed 4 4 PASS fetch of a revoked URL should fail 5 5 PASS Only exact matches should revoke URLs, using fetch -
trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/url/url-with-xhr.any-expected.txt
r267651 r270269 1 1 2 2 PASS Blob URLs can be used in XHR 3 FAIL XHR with a fragment should succeed promise_test: Unhandled rejection with value: "Got unexpected error event" 3 PASS XHR with a fragment should succeed 4 4 PASS XHR of a revoked URL should fail 5 5 PASS Only exact matches should revoke URLs, using XHR -
trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/url/url-with-xhr.any.worker-expected.txt
r267651 r270269 1 1 2 2 PASS Blob URLs can be used in XHR 3 FAIL XHR with a fragment should succeed promise_test: Unhandled rejection with value: "Got unexpected error event" 3 PASS XHR with a fragment should succeed 4 4 PASS XHR of a revoked URL should fail 5 5 PASS Only exact matches should revoke URLs, using XHR -
trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/FileAPI/url/url-with-fetch.any-expected.txt
r267658 r270269 1 1 2 2 PASS Blob URLs can be used in fetch 3 FAIL fetch with a fragment should succeed promise_test: Unhandled rejection with value: object "TypeError: Type error" 3 PASS fetch with a fragment should succeed 4 4 PASS fetch of a revoked URL should fail 5 5 PASS Only exact matches should revoke URLs, using fetch -
trunk/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/FileAPI/url/url-with-fetch.any.worker-expected.txt
r267658 r270269 1 1 2 2 PASS Blob URLs can be used in fetch 3 FAIL fetch with a fragment should succeed promise_test: Unhandled rejection with value: object "TypeError: Type error" 3 PASS fetch with a fragment should succeed 4 4 PASS fetch of a revoked URL should fail 5 5 PASS Only exact matches should revoke URLs, using fetch -
trunk/Source/WebCore/ChangeLog
r270257 r270269 1 2020-11-30 Alex Christensen <achristensen@webkit.org> 2 3 Allow blob URLs with fragments 4 https://bugs.webkit.org/show_bug.cgi?id=219361 5 6 Reviewed by Darin Adler. 7 8 When fetching blob content, we use the whole blob URL. 9 In order to match Chrome and Firefox, we need to remove the fragment if there is one. 10 11 * platform/network/BlobRegistryImpl.cpp: 12 (WebCore::BlobRegistryImpl::getBlobDataFromURL const): 13 1 14 2020-11-30 James Darpinian <jdarpinian@chromium.org> 2 15 -
trunk/Source/WebCore/platform/network/BlobRegistryImpl.cpp
r264780 r270269 224 224 { 225 225 ASSERT(isMainThread()); 226 if (url.hasFragmentIdentifier()) 227 return m_blobs.get(url.stringWithoutFragmentIdentifier().toStringWithoutCopying()); 226 228 return m_blobs.get(url.string()); 227 229 }
Note: See TracChangeset
for help on using the changeset viewer.