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> |
Status: | RESOLVED FIXED | ||
Severity: | Major | CC: | ddkilzer, joepeck, michaeln, pfeldman, vsevik, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Alexey Proskuryakov
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joseph Pecoraro
> applicationCache.status value is 1, which stands for UNCACHED.
Typo there, a value of 1 is IDLE.
Alexey Proskuryakov
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.
Alexey Proskuryakov
The status indicator has been hidden in bug 60799 to avoid confusing developers.
Vsevolod Vlasov
Fixed together with https://bugs.webkit.org/show_bug.cgi?id=60793.