gecko-dev/dom/quota/test
Simon Giesecke fbf7a1dad4 Bug 1686191 - Remove module argument from LogError. r=dom-workers-and-storage-reviewers,janv
The module argument in LogError is redundant: the module information can
already be determined from the source file path. Indeed, reporting the module
separately in the telemetry events seems unnecessary. Instead, the relative
path is now reported. This is what the analysis of the telemetry data did
reconstruct anyway.

As a consequence, it's no longer necessary to define module-specific
HandleError functions, and therefore it's also unnecessary to define
module-specific TRY macros. These are retained as simple aliases for now,
but can be removed in a later patch entirely.

This also avoids misuses of a TRY macros in the wrong module, which were
happening a few times before, resulting in confusing output or telemetry
events.

Since Bug 1686191 will add some more TRY macro variants that warn, so
simplifying the module-specific aspects will simplify that task. Furthermore,
this is in preparation of moving the TRY macro extensions to MFBT.

Differential Revision: https://phabricator.services.mozilla.com/D102767
2021-03-12 15:01:21 +00:00
..
browser Bug 1695084 - Update persistent storage permission prompt. r=mconley,flod 2021-03-04 21:59:23 +00:00
common
gtest Bug 1686191 - Remove module argument from LogError. r=dom-workers-and-storage-reviewers,janv 2021-03-12 15:01:21 +00:00
mochitest
xpcshell Bug 1686031 - Add suffix to OriginInfoPair and quota info cache; r=dom-storage-reviewers,sg 2021-03-04 11:07:39 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00