Changeset 276352 in webkit
- Timestamp:
- Apr 21, 2021, 1:44:42 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
loader/PolicyChecker.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r276351 r276352 1 2021-04-21 Youenn Fablet <youenn@apple.com> 2 3 Use BlobURL::getOriginURL in more places 4 https://bugs.webkit.org/show_bug.cgi?id=224857 5 6 Reviewed by Alex Christensen. 7 8 Covered by existing tests. 9 10 * loader/PolicyChecker.cpp: 11 (WebCore::FrameLoader::PolicyChecker::extendBlobURLLifetimeIfNecessary const): 12 1 13 2021-04-21 Tim Horton <timothy_horton@apple.com> 2 14 -
trunk/Source/WebCore/loader/PolicyChecker.cpp
r276012 r276352 112 112 113 113 // Create a new temporary blobURL in case this one gets revoked during the asynchronous navigation policy decision. 114 URL temporaryBlobURL = BlobURL::createPublicURL(&m_frame.document()->securityOrigin()); 115 ThreadableBlobRegistry::registerBlobURL(&m_frame.document()->securityOrigin(), temporaryBlobURL, request.url()); 114 auto origin = SecurityOrigin::create(BlobURL::getOriginURL(request.url())); 115 URL temporaryBlobURL = BlobURL::createPublicURL(origin.ptr()); 116 ThreadableBlobRegistry::registerBlobURL(origin.ptr(), temporaryBlobURL, request.url()); 116 117 request.setURL(temporaryBlobURL); 117 118 if (loader)
Note:
See TracChangeset
for help on using the changeset viewer.