Intent to Implement: Navigation Error Logging
Contact emails
igri...@google.com (spec author)
tttu...@google.com (doing the work to implement this in Chrome)
Spec
Summary
Defines a mechanism that enables developers to declare a network error reporting policy for a web application. A user agent can use this policy to report encountered network errors that prevented it from successfully fetching requested resources
Motivation
Developers can monitor site performance through the navigation timing API, but lack insight into more catastrophic failures such as socket timeouts, redirect loops and DNS issues that may be causing their site to become unavailable to sections of users or across different geographies. This spec gives the ability to monitor outages and transient failures that would go unnoticed otherwise.
Compatibility Risk
Minimal. Firefox and IE have both expressed interest. Iterating on spec feedback [1]. Yandex and others have expressed interest in adopting this feature server side.
Ongoing technical constraints
None
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes
OWP launch tracking bug?
https://code.google.com/p/chromium/issues/detail?id=338852
Link to entry on the feature dashboard
https://www.chromestatus.com/feature/5391249376804864
Requesting approval to ship?
Not yet.
[1] : https://lists.w3.org/Archives/Public/public-web-perf/2015Mar/0030.html
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
This sounds really exciting. I'm not familiar with the details here, but in general error reporting techniques have proven to be critical to raising application quality elsewhere.To what extent can these use cases be addressed by a service worker today? Can we conceptually imagine this API being implemented as a built-in service worker? Eg. If a web developer likes most of what this does, but needs some additional application-specific context/changes, can they do so with a service worker?
Sending to the server is equivalent to having a JS interface in terms of what information is exposed to the page. I must admit having a header that makes us send JSON blobs to a specified uri is kind of strange, is there a reason not to expose this through script and let authors use libraries for it? That saves us from dictating the message format and what information is included so as the web evolves so can the format and the data. Once we start sending blobs to the server we'll probably be stuck with that format for a very long time.