зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1647225 - Change the string exposed via gfxInfo. r=jrmuizel
This includes things like about:support, gfxCriticalNote, probably telemetry environment stuff. Differential Revision: https://phabricator.services.mozilla.com/D80451
This commit is contained in:
Родитель
d61fdfeed8
Коммит
ed3e0d6f72
|
@ -59,7 +59,7 @@ const char* FeatureStatusToString(FeatureStatus aStatus) {
|
|||
case FeatureStatus::Denied:
|
||||
return "denied";
|
||||
case FeatureStatus::Blocklisted:
|
||||
return "blacklisted";
|
||||
return "blocklisted";
|
||||
case FeatureStatus::OptIn:
|
||||
return "opt-in";
|
||||
case FeatureStatus::Failed:
|
||||
|
|
|
@ -266,7 +266,7 @@ interface nsIGfxInfo : nsISupports
|
|||
// // "unused" - This feature has not been requested.
|
||||
// // "unavailable" - OS version or restriction prevents use.
|
||||
// // "blocked" - An internal condition (such as safe mode) prevents use.
|
||||
// // "blacklisted" - Blocked due to a blacklist restriction.
|
||||
// // "blocklisted" - Blocked due to a blocklist restriction.
|
||||
// // "denied" - Blocked due to allowlist restrictions.
|
||||
// // "disabled" - User explicitly disabled this default feature.
|
||||
// // "failed" - Feature failed to initialize.
|
||||
|
|
|
@ -2031,7 +2031,7 @@ void GfxInfo::DescribeFeatures(JSContext* aCx, JS::Handle<JSObject*> aObj) {
|
|||
}
|
||||
|
||||
val = JS::BooleanValue(blocklisted);
|
||||
JS_SetProperty(aCx, obj, "blacklisted", val);
|
||||
JS_SetProperty(aCx, obj, "blocklisted", val);
|
||||
}
|
||||
|
||||
gfx::FeatureState& d2d = gfxConfig::GetFeature(Feature::DIRECT2D);
|
||||
|
|
Загрузка…
Ссылка в новой задаче