commit dc28461245bcb57dd7a86fcfcdb6ec67c5247aaf
parent e2ad70d36fcf5fd43380c5b9dae60bcf9631bdd9
Author: Andrew Osmond <aosmond@gmail.com>
Date: Wed, 19 Nov 2025 20:37:59 +0000
Bug 2000004 - Remove warning about unrecognized gfx feature. r=gfx-reviewers,bradwerth
With the downloadable blocklist, this can happen because we added or
removed a feature.
Differential Revision: https://phabricator.services.mozilla.com/D273240
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/widget/GfxInfoBase.cpp b/widget/GfxInfoBase.cpp
@@ -397,8 +397,9 @@ static bool BlocklistEntryToDriverInfo(const nsACString& aBlocklistEntry,
} else if (key.EqualsLiteral("feature")) {
aDriverInfo->mFeature = BlocklistFeatureToGfxFeature(dataValue);
if (aDriverInfo->mFeature == nsIGfxInfo::FEATURE_INVALID) {
- // If we don't recognize the feature, we do not want to proceed.
- gfxWarning() << "Unrecognized feature " << value.get();
+ // If we don't recognize the feature, we do not want to proceed. This
+ // can happen if we add a new feature that this build doesn't support,
+ // or removed a feature we used to support.
return false;
}
} else if (key.EqualsLiteral("featureStatus")) {