Bug 23620 - Crash in appcache/resource-redirect.html on Tiger
Summary: Crash in appcache/resource-redirect.html on Tiger
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Alexey Proskuryakov
Keywords: InRadar
Depends on:
Reported: 2009-01-29 04:51 PST by Alexey Proskuryakov
Modified: 2009-01-29 12:40 PST (History)
0 users

See Also:

proposed fix (12.67 KB, patch)
2009-01-29 05:39 PST, Alexey Proskuryakov
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
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())

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