mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
fbf7a1dad4
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 |
||
---|---|---|
.. | ||
browser | ||
common | ||
gtest | ||
mochitest | ||
xpcshell | ||
moz.build |