Changeset 212330 in webkit
- Timestamp:
- Feb 14, 2017 3:26:38 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r212329 r212330 1 2017-02-14 Brady Eidson <beidson@apple.com> 2 3 Speculative fix for: Crash in DocumentThreadableLoader::redirectReceived. 4 <rdar://problem/29899473> and https://bugs.webkit.org/show_bug.cgi?id=168337 5 6 Reviewed by Geoffrey Garen. 7 8 No new tests (Unable to find a reproduction). 9 10 * loader/DocumentThreadableLoader.cpp: 11 (WebCore::DocumentThreadableLoader::loadRequest): 12 1 13 2017-02-14 Youenn Fablet <youenn@apple.com> 2 14 -
trunk/Source/WebCore/loader/DocumentThreadableLoader.cpp
r211758 r212330 367 367 void DocumentThreadableLoader::loadRequest(ResourceRequest&& request, SecurityCheckPolicy securityCheck) 368 368 { 369 Ref<DocumentThreadableLoader> protectedThis(*this); 370 369 371 // Any credential should have been removed from the cross-site requests. 370 372 const URL& requestURL = request.url(); … … 388 390 389 391 ASSERT(!m_resource); 392 if (m_resource) { 393 CachedResourceHandle<CachedRawResource> resource = std::exchange(m_resource, nullptr); 394 resource->removeClient(*this); 395 } 396 390 397 // We create an URL here as the request will be moved in requestRawResource 391 398 URL requestUrl = newRequest.resourceRequest().url();
Note: See TracChangeset
for help on using the changeset viewer.