Changeset 276667 in webkit
- Timestamp:
- Apr 27, 2021, 2:07:27 PM (5 years ago)
- Location:
- branches/safari-611-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
loader/PolicyChecker.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-611-branch/Source/WebCore/ChangeLog
r276666 r276667 1 2021-04-27 Russell Epstein <repstein@apple.com> 2 3 Cherry-pick r276352. rdar://problem/77211405 4 5 Use BlobURL::getOriginURL in more places 6 https://bugs.webkit.org/show_bug.cgi?id=224857 7 8 Reviewed by Alex Christensen. 9 10 Covered by existing tests. 11 12 * loader/PolicyChecker.cpp: 13 (WebCore::FrameLoader::PolicyChecker::extendBlobURLLifetimeIfNecessary const): 14 15 16 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276352 268f45cc-cd09-0410-ab3c-d52691b4dbfc 17 18 2021-04-21 Youenn Fablet <youenn@apple.com> 19 20 Use BlobURL::getOriginURL in more places 21 https://bugs.webkit.org/show_bug.cgi?id=224857 22 23 Reviewed by Alex Christensen. 24 25 Covered by existing tests. 26 27 * loader/PolicyChecker.cpp: 28 (WebCore::FrameLoader::PolicyChecker::extendBlobURLLifetimeIfNecessary const): 29 1 30 2021-04-27 Russell Epstein <repstein@apple.com> 2 31 -
branches/safari-611-branch/Source/WebCore/loader/PolicyChecker.cpp
r276666 r276667 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.