mochitest-no-pref.toml (906B)
1 [DEFAULT] 2 subsuite = "webgpu" 3 # This file's tests should run when WebGPU is disabled by the default 4 # value of `dom.webgpu.enabled` in `modules/libpref/init/StaticPrefList.yaml`. 5 # 6 # This condition should be the same as the `run-if` condition in 7 # `mochitest.toml`, except for `verify`. 8 skip-if = [ 9 "early_beta_or_earlier", 10 "os == 'mac' && os_version == '10.15' && arch == 'x86_64'", 11 "os == 'mac' && os_version == '14.70' && arch == 'x86_64'", 12 "os == 'mac' && os_version == '15.30' && arch == 'aarch64'", 13 "os == 'win'", 14 "verify", # `test-verify` jobs don't guarantee a GPU, so skip them. 15 ] 16 prefs = [ 17 "gfx.webgpu.ignore-blocklist=true", # https://bugzilla.mozilla.org/show_bug.cgi?id=1985348 18 ] 19 20 # Even if the pref were enabled, WebGPU is only available in secure contexts. 21 # 22 # See spec WebIDL, like this: https://www.w3.org/TR/webgpu/#navigatorgpu 23 scheme = "https" 24 25 ["test_gpu_disabled.html"]