tor-browser

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

commit 56b8da28419bb687e37dfb9a51bb9fe31a2b6fe8
parent 1eb7755a40e30bdbbd1c8598f7b50fca4404b762
Author: Updatebot <updatebot@mozilla.com>
Date:   Mon,  3 Nov 2025 22:27:45 +0000

Bug 1997779 - Update WebGPU CTS to 8a39e1d407a620d7de788cb87b38e96bb6b0782c r=ErichDonGubler

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

Diffstat:
Mdom/webgpu/tests/cts/checkout/src/webgpu/api/operation/buffers/map_oom.spec.ts | 7+------
Mdom/webgpu/tests/cts/checkout/src/webgpu/web_platform/copyToTexture/canvas.spec.ts | 11+++++++++--
Mdom/webgpu/tests/cts/checkout/tools/gen_version | 2+-
Mdom/webgpu/tests/cts/moz.yaml | 4++--
Mtesting/web-platform/mozilla/tests/webgpu/common/internal/version.js | 2+-
Mtesting/web-platform/mozilla/tests/webgpu/webgpu/api/operation/buffers/map_oom.spec.js | 7+------
Mtesting/web-platform/mozilla/tests/webgpu/webgpu/web_platform/copyToTexture/canvas.spec.js | 11+++++++++--
7 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/api/operation/buffers/map_oom.spec.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/api/operation/buffers/map_oom.spec.ts @@ -10,12 +10,7 @@ import { kMaxSafeMultipleOf8 } from '../../../util/math.js'; const oomAndSizeParams = kUnitCaseParamsBuilder .combine('oom', [false, true]) .expand('size', ({ oom }) => { - return oom - ? [ - kMaxSafeMultipleOf8, - 0x20_0000_0000, // 128 GB - ] - : [16]; + return oom ? [kMaxSafeMultipleOf8] : [16]; }); export const g = makeTestGroup(AllFeaturesMaxLimitsGPUTest); diff --git a/dom/webgpu/tests/cts/checkout/src/webgpu/web_platform/copyToTexture/canvas.spec.ts b/dom/webgpu/tests/cts/checkout/src/webgpu/web_platform/copyToTexture/canvas.spec.ts @@ -836,8 +836,15 @@ g.test('color_space_conversion') maxDiffULPsForNormFormat: 1, }; if (srcColorSpace !== dstColorSpace) { - // Color space conversion seems prone to errors up to about 0.0003 on f32, 0.0007 on f16. - texelCompareOptions.maxFractionalDiff = 0.001; + if (dstColorFormat.endsWith('32float')) { + texelCompareOptions.maxFractionalDiff = 0.0003; + } else if (dstColorFormat.endsWith('16float')) { + texelCompareOptions.maxFractionalDiff = 0.0007; + } else if (dstColorFormat === 'rg11b10ufloat') { + texelCompareOptions.maxFractionalDiff = 0.015; + } else { + texelCompareOptions.maxFractionalDiff = 0.001; + } } else { texelCompareOptions.maxDiffULPsForFloatFormat = 1; } diff --git a/dom/webgpu/tests/cts/checkout/tools/gen_version b/dom/webgpu/tests/cts/checkout/tools/gen_version @@ -14,7 +14,7 @@ if (!fs.existsSync(myself)) { process.exit(1); } -const version = 'eefe6f33964beec1bd1534b1d9065ad027b71740'; +const version = '8a39e1d407a620d7de788cb87b38e96bb6b0782c'; fs.mkdirSync('./gen/common/internal', { recursive: true }); // This will be copied into the various other build directories. diff --git a/dom/webgpu/tests/cts/moz.yaml b/dom/webgpu/tests/cts/moz.yaml @@ -8,8 +8,8 @@ origin: name: WebGPU CTS description: WebGPU Compliance Test Suite url: https://gpuweb.github.io/cts/ - release: eefe6f33964beec1bd1534b1d9065ad027b71740 (2025-10-24T22:42:24Z). - revision: eefe6f33964beec1bd1534b1d9065ad027b71740 + release: 8a39e1d407a620d7de788cb87b38e96bb6b0782c (2025-10-28T20:07:56Z). + revision: 8a39e1d407a620d7de788cb87b38e96bb6b0782c license: ['BSD-3-Clause'] updatebot: diff --git a/testing/web-platform/mozilla/tests/webgpu/common/internal/version.js b/testing/web-platform/mozilla/tests/webgpu/common/internal/version.js @@ -1,3 +1,3 @@ // AUTO-GENERATED - DO NOT EDIT. See tools/gen_version. -export const version = 'eefe6f33964beec1bd1534b1d9065ad027b71740'; +export const version = '8a39e1d407a620d7de788cb87b38e96bb6b0782c'; diff --git a/testing/web-platform/mozilla/tests/webgpu/webgpu/api/operation/buffers/map_oom.spec.js b/testing/web-platform/mozilla/tests/webgpu/webgpu/api/operation/buffers/map_oom.spec.js @@ -10,12 +10,7 @@ import { kMaxSafeMultipleOf8 } from '../../../util/math.js'; const oomAndSizeParams = kUnitCaseParamsBuilder. combine('oom', [false, true]). expand('size', ({ oom }) => { - return oom ? - [ - kMaxSafeMultipleOf8, - 0x20_0000_0000 // 128 GB - ] : - [16]; + return oom ? [kMaxSafeMultipleOf8] : [16]; }); export const g = makeTestGroup(AllFeaturesMaxLimitsGPUTest); diff --git a/testing/web-platform/mozilla/tests/webgpu/webgpu/web_platform/copyToTexture/canvas.spec.js b/testing/web-platform/mozilla/tests/webgpu/webgpu/web_platform/copyToTexture/canvas.spec.js @@ -836,8 +836,15 @@ fn((t) => { maxDiffULPsForNormFormat: 1 }; if (srcColorSpace !== dstColorSpace) { - // Color space conversion seems prone to errors up to about 0.0003 on f32, 0.0007 on f16. - texelCompareOptions.maxFractionalDiff = 0.001; + if (dstColorFormat.endsWith('32float')) { + texelCompareOptions.maxFractionalDiff = 0.0003; + } else if (dstColorFormat.endsWith('16float')) { + texelCompareOptions.maxFractionalDiff = 0.0007; + } else if (dstColorFormat === 'rg11b10ufloat') { + texelCompareOptions.maxFractionalDiff = 0.015; + } else { + texelCompareOptions.maxFractionalDiff = 0.001; + } } else { texelCompareOptions.maxDiffULPsForFloatFormat = 1; }