Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Crash under DocumentThreadableLoader::dataReceived() dereferencing an…
… unset std::optional https://bugs.webkit.org/show_bug.cgi?id=288305 rdar://145354732 Reviewed by Charlie Wolfe. Stop passing the resource load identifier to DocumentThreadableLoader::didReceiveData() since it doesn't use it. We don't always have an identifier and it was causing crashes trying to dereferencing an unset std::optional and for no good reason since the identifier wasn't needed anyway. * Source/WebCore/loader/DocumentThreadableLoader.cpp: (WebCore::DocumentThreadableLoader::dataReceived): (WebCore::DocumentThreadableLoader::didReceiveData): (WebCore::DocumentThreadableLoader::loadRequest): * Source/WebCore/loader/DocumentThreadableLoader.h: Canonical link: https://commits.webkit.org/290905@main
- Loading branch information