-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make topOrigin optional in URLKeepingBlobAlive
https://bugs.webkit.org/show_bug.cgi?id=256499 rdar://problem/109067113 Reviewed by Chris Dumez. The top origin SecurityOriginData is not always required for keeping a Blob alive. In the case where the Blob URL is the Blob's internal URL, there is not an associated top origin. Therefore, we only set the top origin for Blob URLs that are created by script where the top origin is well defined. * Source/WebCore/fileapi/Blob.cpp: (WebCore::Blob::handle const): * Source/WebCore/fileapi/URLKeepingBlobAlive.cpp: (WebCore::URLKeepingBlobAlive::URLKeepingBlobAlive): (WebCore::URLKeepingBlobAlive::clear): (WebCore::URLKeepingBlobAlive::isolatedCopy const): * Source/WebCore/fileapi/URLKeepingBlobAlive.h: (WebCore::URLKeepingBlobAlive::topOrigin const): * Source/WebCore/page/SecurityOriginData.h: (WebCore::SecurityOriginDataMarkableTraits::isEmptyValue): (WebCore::SecurityOriginDataMarkableTraits::emptyValue): Canonical link: https://commits.webkit.org/265788@main
- Loading branch information
Showing
4 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters