gecko-dev/dom/localstorage
Tom Tung a4b7f90f3f Bug 1436188 - Add telemetry probes to collect the number of failures during the QuotaManager initialization; r=asuth, data-review=chutten
This patch uses categorical keyed Historgram to collect data. While the key is
used to determine whether is it an external error or an internal error (Note:
the external error is referred to low level failure, for example: database
corrupt, OS API errors, ... etc; the internal error is referred to errors, like:
not handle file properly, unexpected filenames, ... etc), the labels for
categorical indicates where the error happens.
Furthermore, this patch make QuotaManager keep traversing the profile even if
an error happens so that we can get more information in the telemetry data.
Please note that these things should only happen in the Nightly Channel.

Differential Revision: https://phabricator.services.mozilla.com/D15908

--HG--
extra : moz-landing-system : lando
2019-01-17 17:12:27 +00:00
..
test/unit
ActorsChild.cpp
ActorsChild.h
ActorsParent.cpp
ActorsParent.h
LSDatabase.cpp
LSDatabase.h
LSObject.cpp
LSObject.h
LSObserver.cpp
LSObserver.h
LSSnapshot.cpp
LSSnapshot.h
LocalStorageCommon.cpp
LocalStorageCommon.h
LocalStorageManager2.cpp
LocalStorageManager2.h
PBackgroundLSDatabase.ipdl
PBackgroundLSObserver.ipdl
PBackgroundLSRequest.ipdl
PBackgroundLSSharedTypes.ipdlh
PBackgroundLSSimpleRequest.ipdl
PBackgroundLSSnapshot.ipdl
ReportInternalError.cpp
ReportInternalError.h
SerializationHelpers.h
moz.build
nsILocalStorageManager.idl