[Webkit-unassigned] [Bug 47873] iOS: ASSERT in Cache::adjustSize running layout tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 18 19:46:14 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47873


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #71120|                            |review?
               Flag|                            |




--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org>  2010-10-18 19:46:14 PST ---
Created an attachment (id=71120)
 --> (https://bugs.webkit.org/attachment.cgi?id=71120&action=review)
[PATCH] Proposed Change

I'll be rebasing and re-running test to verify.

If desired I may be able to make a test for this:

  - Cache a resource
  - Loop and continually prune the cache enough that it would likely underflow (m_deadSize is unsigned and underflowing triggers the ASSERT)
  - Have the test pass if there was no assertion.

Another approach might be to add a method to Cache to verify its integrity.
This might be worth doing, so let me know!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list