Bug 1752332: Add a sanitized property to prefs r=KrisWright

Differential Revision: https://phabricator.services.mozilla.com/D141408
This commit is contained in:
Tom Ritter
2022-04-20 15:44:36 +00:00
parent 597a2b032f
commit aa465e7dd7
12 changed files with 116 additions and 29 deletions

View File

@@ -99,7 +99,8 @@ void UtilityProcessManager::OnPreferenceChange(const char16_t* aData) {
return;
}
mozilla::dom::Pref pref(strData, /* isLocked */ false, Nothing(), Nothing());
mozilla::dom::Pref pref(strData, /* isLocked */ false,
/* isSanitized */ false, Nothing(), Nothing());
Preferences::GetPreference(&pref);
for (auto& p : mProcesses) {