Bug 1577199 add speaker-selection feature policy r=ckerschb

Differential Revision: https://phabricator.services.mozilla.com/D119866
This commit is contained in:
Karl Tomlinson 2021-08-02 00:13:56 +00:00
Родитель d4b472d375
Коммит b486854ffc
2 изменённых файлов: 2 добавлений и 3 удалений

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

@ -36,6 +36,7 @@ static FeatureMap sSupportedFeatures[] = {
{"fullscreen", FeaturePolicyUtils::FeaturePolicyValue::eSelf},
{"web-share", FeaturePolicyUtils::FeaturePolicyValue::eSelf},
{"gamepad", FeaturePolicyUtils::FeaturePolicyValue::eAll},
{"speaker-selection", FeaturePolicyUtils::FeaturePolicyValue::eSelf},
};
/*
@ -52,8 +53,6 @@ static FeatureMap sExperimentalFeatures[] = {
{"midi", FeaturePolicyUtils::FeaturePolicyValue::eSelf},
{"payment", FeaturePolicyUtils::FeaturePolicyValue::eAll},
{"document-domain", FeaturePolicyUtils::FeaturePolicyValue::eAll},
// TODO: not supported yet!!!
{"speaker", FeaturePolicyUtils::FeaturePolicyValue::eSelf},
{"vr", FeaturePolicyUtils::FeaturePolicyValue::eAll},
// https://immersive-web.github.io/webxr/#feature-policy
{"xr-spatial-tracking", FeaturePolicyUtils::FeaturePolicyValue::eSelf},

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

@ -21,7 +21,7 @@ let supportedFeatures = [
"payment",
"display-capture",
"document-domain",
"speaker",
"speaker-selection",
"vr",
"web-share",
];