Bug 23620

Summary: Crash in appcache/resource-redirect.html on Tiger
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P1    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
proposed fix andersca: review+

Description Alexey Proskuryakov 2009-01-29 04:51:10 PST
This test crashes on Tiger, patch forthcoming.
Comment 1 Alexey Proskuryakov 2009-01-29 05:39:45 PST
Created attachment 27147 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2009-01-29 05:42:22 PST
<rdar://problem/6539244>
Comment 3 Anders Carlsson 2009-01-29 11:13:01 PST
Comment on attachment 27147 [details]
proposed fix

 488     ASSERT(!m_currentResource || m_pendingEntries.find(handle->request().url()) == m_pendingEntries.end());

Instead of doing .find you can just assert !m_pendingEntries.contains(handle->request().url())

r=me
Comment 4 Alexey Proskuryakov 2009-01-29 12:40:44 PST
Committed revision 40368.