Bug 1731994: part 6) Update `sPermissionsMap`'s documentation. r=baku DONTBUILD

Because of `PermissionDelegateHandler::GetPermissionDelegateInfo`.

Differential Revision: https://phabricator.services.mozilla.com/D126789
This commit is contained in:
Mirko Brodesser 2021-09-30 13:11:52 +00:00
Родитель b6f7dcbf52
Коммит 2355592bf4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -28,7 +28,7 @@ typedef PermissionDelegateHandler::PermissionDelegateInfo DelegateInfo;
// Particular type of permissions to care about. We decide cases by case and
// give various types of controls over each of these.
static const DelegateInfo sPermissionsMap[] = {
// Permissions API map
// Permissions API map. All permission names have to be in lowercase.
{"geo", u"geolocation", DelegatePolicy::eDelegateUseFeaturePolicy},
// The same with geo, but we support both to save some conversions between
// "geo" and "geolocation"