Bug 1803543 - Improve the PreferenceRead marker schema to make the marker table show the name and value of the preferences, r=canaltinova.

Differential Revision: https://phabricator.services.mozilla.com/D163581
This commit is contained in:
Florian Quèze
2022-12-19 18:01:14 +00:00
parent 900993aa8c
commit acbadad33e

View File

@@ -4623,6 +4623,9 @@ struct Internals {
schema.AddKeyLabelFormat("prefKind", "Kind", MS::Format::String); schema.AddKeyLabelFormat("prefKind", "Kind", MS::Format::String);
schema.AddKeyLabelFormat("prefType", "Type", MS::Format::String); schema.AddKeyLabelFormat("prefType", "Type", MS::Format::String);
schema.AddKeyLabelFormat("prefValue", "Value", MS::Format::String); schema.AddKeyLabelFormat("prefValue", "Value", MS::Format::String);
schema.SetTableLabel(
"{marker.data.prefName}: {marker.data.prefValue} "
"({marker.data.prefType})");
return schema; return schema;
} }