Bug 60590 - Web Inspector: Application cache status always displayed as UNCACHED at first
Summary: Web Inspector: Application cache status always displayed as UNCACHED at first
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 15:34 PDT by Alexey Proskuryakov
Modified: 2011-11-11 10:30 PST (History)
6 users (show)

See Also:


Attachments

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