From 3195f9c339461b94804dbc61c32d1147aba0bbae Mon Sep 17 00:00:00 2001 From: Paul Bone Date: Wed, 24 May 2023 01:14:08 +0000 Subject: [PATCH] Bug 1834434 - Add a reference to pref sanitisation code in the docs r=KrisWright DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D178752 --- modules/libpref/docs/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/libpref/docs/index.md b/modules/libpref/docs/index.md index b1dc167125eb..e7576deb9f59 100644 --- a/modules/libpref/docs/index.md +++ b/modules/libpref/docs/index.md @@ -172,7 +172,8 @@ Pref Sanitization is used for two purposes: A pref is sanitized from entering the web content process if it matches a denylist _or_ it is a dynamically-named string preference (that is not -exempted via an allowlist). +exempted via an allowlist), See `ShouldSanitizePreference` in +`Preferences.cpp`. ### Loading and Saving Default pref values are initialized from various pref data files. Notable ones -- 2.11.4.GIT