From c3bb735dc64602755589dc9fba08bd5d837ca1ba Mon Sep 17 00:00:00 2001 From: Andrew Osmond Date: Fri, 19 Aug 2022 02:13:29 +0000 Subject: [PATCH] Bug 1785947 - Fix Linux 32-bit WPT backdrop filter tests. r=gfx-reviewers,jrmuizel In CI, we fail the glxtest which disables all gfx features, including the backdrop filter feature. We can just enable it on Linux. A follow up series of patches will reform the blocklist to prevent these footguns in the future in the next nightly cycle. Differential Revision: https://phabricator.services.mozilla.com/D155041 --- widget/gtk/GfxInfo.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/widget/gtk/GfxInfo.cpp b/widget/gtk/GfxInfo.cpp index 709f5b339377..d947bcb02e5c 100644 --- a/widget/gtk/GfxInfo.cpp +++ b/widget/gtk/GfxInfo.cpp @@ -976,6 +976,11 @@ nsresult GfxInfo::GetFeatureStatusImpl( GetData(); + if (aFeature == nsIGfxInfo::FEATURE_BACKDROP_FILTER) { + *aStatus = nsIGfxInfo::FEATURE_STATUS_OK; + return NS_OK; + } + if (mGlxTestError) { // If glxtest failed, block all features by default. *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE;