This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22702 - appcache: More detailed error information
Summary: appcache: More detailed error information
Status: RESOLVED WONTFIX
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 enhancement
Target Milestone: Needs Impl Interest
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 18:21 UTC by Ian 'Hixie' Hickson
Modified: 2015-08-13 07:06 UTC (History)
9 users (show)

See Also:


Attachments

Description Ian 'Hixie' Hickson 2013-07-16 18:21:39 UTC
On Mon, 26 Nov 2012, David Barrett-Kahn wrote:
>
> Right now this event contains no structured information, just an error
> message.  It'd be helpful to us to know more about what failed, so we
> can know what to report to the server and take action on.  It's hard to
> distinguish cache update failures due to just being offline from those
> which are actually causing trouble.  In the second case it's also hard
> to work out which resource is proving unavailable and why.
>
> One way to do this would be to create an AppCacheError subclass, with an
> errorCode parameter, and also nullable url and httpResponseCode
> properties.
>
> Potential error codes:
> * couldn't fetch manifest (includes url and httpResponseCode)
> * pre and post update manifest fetches mismatched (includes url)
> * fetching a resource failed (includes url and httpResponseCode)
>
> Related bug:
> https://code.google.com/p/chromium/issues/detail?id=161753

On Thu, 29 Nov 2012, Michael Nordman wrote:
>
> Sounds reasonable to me. Webkit and chromium expose information like
> this via the inspector console so users/developers at that can better
> diagnose problems locally. Makes sense to also expose that info to app
> logic so developers could diagnose from afar.
Comment 1 Joshua Bell 2014-03-27 22:36:51 UTC
Proposed spec changes for this:

https://docs.google.com/document/d/1nlk7WgRD3d0ZcfK1xrwBFVZ3DI_e44j7QoMd5gAJC4E/edit?usp=sharing
Comment 2 Ian 'Hixie' Hickson 2014-07-28 23:17:05 UTC
So, it looks like Chrome implements this. Are any other browsers interesting in implementing this also? The API seems sound and straight-forward.
Comment 3 Ian 'Hixie' Hickson 2014-09-05 21:55:55 UTC
Happy to add this, just need another browser on board.
Comment 4 Philip Jägenstedt 2015-05-31 11:56:45 UTC
Blink tracking bug was http://code.google.com/p/chromium/issues/detail?id=342555
Comment 5 Anne 2015-08-13 07:06:37 UTC
The plan is to remove appcache. It makes no sense to put more resources into the feature.