Bug 97700

Summary: Fix an ASSERT() in the cache management code
Product: WebKit Reporter: Dmitrij Tejblum <tejblum>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: ap, japhet, koivisto, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.7   
Attachments:
Description Flags
Patch none

Dmitrij Tejblum
Reported 2012-09-26 10:54:03 PDT
According to an ASSERT in MemoryCache::pruneDeadResourcesToSize() ( ASSERT(!current->isPreloaded()) ), a purgeable cached resource cannot be preloaded. This assert was triggered sometimes, and I didn't find anything that should ensure it.
Attachments
Patch (2.33 KB, patch)
2012-09-26 10:58 PDT, Dmitrij Tejblum
no flags
Dmitrij Tejblum
Comment 1 2012-09-26 10:58:53 PDT
Alexey Proskuryakov
Comment 2 2012-09-27 10:52:50 PDT
Is it possible to make a regression test for this?
Andreas Kling
Comment 3 2014-02-05 10:58:20 PST
Comment on attachment 165831 [details] Patch Clearing review flag on patches from before 2014. If this patch is still relevant, please reset the r? flag.
Note You need to log in before you can comment on or make changes to this bug.