Bug 60590

Summary: Web Inspector: Application cache status always displayed as UNCACHED at first
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Severity: Major CC: ddkilzer, joepeck, michaeln, pfeldman, vsevik, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Alexey Proskuryakov 2011-05-10 15:34:31 PDT
Steps to reproduce:
1. Open any site that uses appcache (e.g. <http://www.webkit.org/demos/calendar/Calendar.html>).
2. Reload if opening it for the first time.
3. Open Web Inspector, go to Resources->Application Cache.

Observe that the status is displayed as UNCACHED, which is incorrect. Notably, applicationCache.status value is 1, which stands for UNCACHED.
Comment 1 Joseph Pecoraro 2011-05-10 15:48:46 PDT
> applicationCache.status value is 1, which stands for UNCACHED.

Typo there, a value of 1 is IDLE.
Comment 2 Alexey Proskuryakov 2011-05-13 00:55:42 PDT
I thought that adding a call to updateApplicationCacheStatus() in InspectorApplicationCacheAgent::setFrontend() would fix this, but that didn't work. Perhaps like the forntend is not ready for notifications by the time setFrontend() is called.

BTW, I'm wondering if online status bullet has the same problem - it starts with Online, and waits for notifications.
Comment 3 Alexey Proskuryakov 2011-05-13 14:05:29 PDT
The status indicator has been hidden in bug 60799 to avoid confusing developers.
Comment 4 Vsevolod Vlasov 2011-11-11 10:30:45 PST
Fixed together with https://bugs.webkit.org/show_bug.cgi?id=60793.