Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
ServiceWorker downloads fail when chunks are sent via postMessage
https://bugs.webkit.org/show_bug.cgi?id=256698 rdar://problem/109561888 Reviewed by Chris Dumez. When isolatedCopying() && a URLKeepingBlobAlive, we would register the blob URL handle for the new URLKeepingBlobAlive, but the moved URLKeepingBlobAlive would no longer unregister itself if its url is empty. To prevent this, we remove the isolatedCopy() && version. We could make URLKeepingBlobAlive to a move only type in a follow-up. * Source/WebCore/fileapi/URLKeepingBlobAlive.cpp: (WebCore::URLKeepingBlobAlive::isolatedCopy const): (WebCore::URLKeepingBlobAlive::isolatedCopy): Deleted. * Source/WebCore/fileapi/URLKeepingBlobAlive.h: Canonical link: https://commits.webkit.org/264412@main
- Loading branch information