From d9464e116c0230d442f07081fd800fa6a5b95a04 Mon Sep 17 00:00:00 2001 From: ownedbywuigi Date: Fri, 27 Mar 2026 15:37:18 +0000 Subject: [PATCH] Whitelist Parallels --- widget/windows/GfxInfo.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/widget/windows/GfxInfo.cpp b/widget/windows/GfxInfo.cpp index 3eaacaf6d2..b4b4c88914 100644 --- a/widget/windows/GfxInfo.cpp +++ b/widget/windows/GfxInfo.cpp @@ -1186,10 +1186,12 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature, !adapterVendorID.Equals(GfxDriverInfo::GetDeviceVendor(VendorAMD), nsCaseInsensitiveStringComparator()) && !adapterVendorID.Equals(GfxDriverInfo::GetDeviceVendor(VendorATI), nsCaseInsensitiveStringComparator()) && !adapterVendorID.Equals(GfxDriverInfo::GetDeviceVendor(VendorMicrosoft), nsCaseInsensitiveStringComparator()) && - // VMware (PCI vendor 0x15ad) and Hyper-V synthetic adapter vendor - // ids should be treated as known virtualized vendors. + // VMware (PCI vendor 0x15ad), Hyper-V synthetic adapter vendor + // ids, and Parallels (PCI vendor 0x1ab8) should be treated as + // known virtualized vendors. !adapterVendorID.LowerCaseEqualsLiteral("0x15ad") && !adapterVendorID.LowerCaseEqualsLiteral("0x1414") && + !adapterVendorID.LowerCaseEqualsLiteral("0x1ab8") && // FIXME - these special hex values are currently used in xpcshell tests introduced by // bug 625160 patch 8/8. Maybe these tests need to be adjusted now that we're only whitelisting // intel/ati/nvidia.