Bug 22931 - Using the inspector with purgeable resources leads to assertion failures
Summary: Using the inspector with purgeable resources leads to assertion failures
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Cameron Zwarich (cpst)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-12-19 00:05 PST by Cameron Zwarich (cpst)
Modified: 2009-03-18 08:21 PDT (History)
0 users

See Also:


Attachments
Stack trace of assertion failure (13.09 KB, text/plain)
2008-12-19 01:34 PST, Cameron Zwarich (cpst)
no flags Details
Proposed patch (2.52 KB, patch)
2008-12-22 14:15 PST, Cameron Zwarich (cpst)
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Zwarich (cpst) 2008-12-19 00:05:24 PST
The inspector will get the data of a CachedResource even if it is purgeable. This is probably completely innocent in all cases, because it immediately decodes it to a new String, but it causes an assertion failure.
Comment 1 Cameron Zwarich (cpst) 2008-12-19 01:34:09 PST
Created attachment 26140 [details]
Stack trace of assertion failure
Comment 2 Cameron Zwarich (cpst) 2008-12-22 14:15:51 PST
Created attachment 26212 [details]
Proposed patch
Comment 3 Antti Koivisto 2008-12-29 16:47:13 PST
Comment on attachment 26212 [details]
Proposed patch

I think the web archieves have similar problem.
Comment 4 Cameron Zwarich (cpst) 2008-12-30 03:09:05 PST
Landed in r39517.

I will open a new bug for the web archive issue.
Comment 5 David Kilzer (:ddkilzer) 2009-03-18 07:21:46 PDT
<rdar://problem/6462913>
Comment 6 David Kilzer (:ddkilzer) 2009-03-18 08:21:26 PDT
(In reply to comment #4)
> I will open a new bug for the web archive issue.

See Bug 24672.