Changeset 21952 in webkit
- Timestamp:
- Jun 1, 2007 7:37:45 PM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r21950 r21952 1 2007-06-01 Anders Carlsson <acarlsson@apple.com> 2 3 Reviewed by David Harrison. 4 5 <rdar://problem/5236843> 6 CrashTracer: [USER] 3 crashes in Mail at WebCore::Loader::didReceiveResponse(WebCore::SubresourceLoader*, WebCore::ResourceResponse const&) 7 8 This is by no means the best solution for handling user style sheets. I've filed <rdar://problem/5244734> 9 for tracking that. 10 11 * loader/loader.cpp: 12 (WebCore::Loader::didReceiveResponse): 13 If a load starts while the frame is still in the provisional state 14 (this can be the case when loading the user style sheet), committing the load then causes all 15 requests to be removed from the m_requestsLoading map. This means that req might be null here. 16 In that case we just return early. 17 1 18 2007-06-01 Mitz Pettel <mitz@webkit.org> 2 19 -
trunk/WebCore/loader/loader.cpp
r21732 r21952 158 158 { 159 159 Request* req = m_requestsLoading.get(loader); 160 ASSERT(req); 160 161 // FIXME: This is a workaround for <rdar://problem/5236843> 162 // If a load starts while the frame is still in the provisional state 163 // (this can be the case when loading the user style sheet), committing the load then causes all 164 // requests to be removed from the m_requestsLoading map. This means that req might be null here. 165 // In that case we just return early. 166 // ASSERT(req); 167 if (!req) 168 return; 161 169 req->cachedResource()->setResponse(response); 162 170
Note: See TracChangeset
for help on using the changeset viewer.