tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit dbc1cfe4c79e848675b957fab79984f247db2355
parent 7f75ffc57f4f1ef0a33be8d71bd30d65e3300556
Author: Andy Leiserson <aleiserson@mozilla.com>
Date:   Thu, 13 Nov 2025 17:50:35 +0000

Bug 1993341 - Enable WebGPU on pre-Tahoe MacOS r=webgpu-reviewers,taskgraph-reviewers,teoxoy,jcristau

Differential Revision: https://phabricator.services.mozilla.com/D272338

Diffstat:
Mdom/webgpu/tests/mochitest/mochitest-resistfingerprinting.toml | 4+---
Mdom/webgpu/tests/mochitest/mochitest.toml | 4+---
Mtaskcluster/gecko_taskgraph/transforms/test/other.py | 13++++++-------
Mtoolkit/components/ml/tests/browser/perftest.toml | 4+---
Mwidget/cocoa/GfxInfo.mm | 8--------
5 files changed, 9 insertions(+), 24 deletions(-)

diff --git a/dom/webgpu/tests/mochitest/mochitest-resistfingerprinting.toml b/dom/webgpu/tests/mochitest/mochitest-resistfingerprinting.toml @@ -9,9 +9,7 @@ prefs = [ "dom.webgpu.enabled=true", "dom.webgpu.service-workers.enabled=true", # Ignoring the blocklist is necessary to run tests in CI on old Mesa versions - # (https://bugzilla.mozilla.org/show_bug.cgi?id=1985348) or against beta and - # release builds on old MacOS versions - # (https://bugzilla.mozilla.org/show_bug.cgi?id=1993341). + # (https://bugzilla.mozilla.org/show_bug.cgi?id=1985348). "gfx.webgpu.ignore-blocklist=true", "privacy.fingerprintingProtection=true", "privacy.fingerprintingProtection.overrides='-AllTargets,+WebGPULimits'", diff --git a/dom/webgpu/tests/mochitest/mochitest.toml b/dom/webgpu/tests/mochitest/mochitest.toml @@ -15,9 +15,7 @@ run-if = [ prefs = [ "dom.webgpu.service-workers.enabled=true", # Ignoring the blocklist is necessary to run tests in CI on old Mesa versions - # (https://bugzilla.mozilla.org/show_bug.cgi?id=1985348) or against beta and - # release builds on old MacOS versions - # (https://bugzilla.mozilla.org/show_bug.cgi?id=1993341). + # (https://bugzilla.mozilla.org/show_bug.cgi?id=1985348). "gfx.webgpu.ignore-blocklist=true", ] support-files = [ diff --git a/taskcluster/gecko_taskgraph/transforms/test/other.py b/taskcluster/gecko_taskgraph/transforms/test/other.py @@ -1137,15 +1137,14 @@ def enable_parallel_marking_in_tsan_tests(config, tasks): @transforms.add def set_webgpu_ignore_blocklist(config, tasks): """ - Ignore the WebGPU blocklist on Linux (because CI's Mesa is old, - <https://bugzilla.mozilla.org/show_bug.cgi?id=1985348>) and on pre-Tahoe - MacOS (<https://bugzilla.mozilla.org/show_bug.cgi?id=1993341>). + Ignore the WebGPU blocklist on Linux because CI's Mesa is old + + See <https://bugzilla.mozilla.org/show_bug.cgi?id=1985348> """ for task in tasks: - if "web-platform-tests-webgpu" in task["test-name"] and ( - task["test-platform"].startswith("linux") - or task["test-platform"].startswith("macosx1") - ): + if "web-platform-tests-webgpu" in task["test-name"] and task[ + "test-platform" + ].startswith("linux"): extra_options = task["mozharness"].setdefault("extra-options", []) extra_options.append("--setpref=gfx.webgpu.ignore-blocklist=true") diff --git a/toolkit/components/ml/tests/browser/perftest.toml b/toolkit/components/ml/tests/browser/perftest.toml @@ -5,9 +5,7 @@ support-files = [ ] prefs = [ # Ignoring the blocklist is necessary to run tests in CI on old Mesa versions - # (https://bugzilla.mozilla.org/show_bug.cgi?id=1985348) or against beta and - # release builds on old MacOS versions - # (https://bugzilla.mozilla.org/show_bug.cgi?id=1993341). + # (https://bugzilla.mozilla.org/show_bug.cgi?id=1985348). "gfx.webgpu.ignore-blocklist=true", ] diff --git a/widget/cocoa/GfxInfo.mm b/widget/cocoa/GfxInfo.mm @@ -526,14 +526,6 @@ nsresult GfxInfo::GetFeatureStatusImpl( *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DEVICE; aFailureId = "FEATURE_UNQUALIFIED_WEBRENDER_MAC_ROSETTA"; return NS_OK; -#ifndef EARLY_BETA_OR_EARLIER - } else if (aFeature == nsIGfxInfo::FEATURE_WEBGPU && - !nsCocoaFeatures::OnTahoeOrLater()) { - // https://bugzilla.mozilla.org/show_bug.cgi?id=1993341 - *aStatus = nsIGfxInfo::FEATURE_BLOCKED_OS_VERSION; - aFailureId = "FEATURE_FAILURE_WEBGPU_MACOS_26_REQUIRED"; - return NS_OK; -#endif } }