Backed out 2 changesets (bug 1865921) for causing failures on test_device_lost.html...
[gecko.git] / dom / webgpu / mochitest / mochitest.toml
blobb1ff07e07186bb06a04c55d5151fc608eda81891
1 [DEFAULT]
2 subsuite = "webgpu"
3 run-if = ["!release_or_beta"]
4 prefs = [
5   "dom.webgpu.enabled=true",
6   "dom.webgpu.workers.enabled=true",
7   "gfx.offscreencanvas.enabled=true",
9 support-files = [
10   "worker_wrapper.js",
11   "test_basic_canvas.worker.js",
12   "test_submit_render_empty.worker.js",
15 # WebGPU is only available in secure contexts.
17 # See spec WebIDL, like this: https://www.w3.org/TR/webgpu/#navigatorgpu
18 scheme = "https"
20 ["test_basic_canvas.worker.html"]
21 fail-if = [
22   "os == 'linux' && os_version == '18.04'",
23   "os == 'mac'",
26 ["test_buffer_mapping.html"]
27 fail-if = [
28   "os == 'linux' && os_version == '18.04'",
29   "os == 'mac'",
32 ["test_buffer_mapping_invalid_device.html"]
33 fail-if = [
34   "os == 'linux' && os_version == '18.04'",
37 ["test_command_buffer_creation.html"]
38 fail-if = [
39   "os == 'linux' && os_version == '18.04'",
40   "os == 'mac'",
43 ["test_context_configure.html"]
44 fail-if = [
45   "os == 'linux' && os_version == '18.04'",
48 ["test_device_creation.html"]
49 fail-if = [
50   "os == 'linux' && os_version == '18.04'",
51   "os == 'mac'",
54 ["test_double_encoder_finish.html"]
55 fail-if = [
56   "os == 'linux' && os_version == '18.04'",
59 ["test_enabled.html"]
61 ["test_error_scope.html"]
62 fail-if = [
63   "os == 'linux' && os_version == '18.04'",
64   "os == 'mac'",
67 ["test_insecure_context.html"]
68 # This test checks that WebGPU is not available in insecure contexts.
69 scheme = "http"
71 ["test_navigator_gpu_not_replaceable.html"]
73 ["test_queue_copyExternalImageToTexture.html"]
74 fail-if = [
75   "os == 'linux' && os_version == '18.04'",
76   "os == 'mac'",
79 ["test_queue_write.html"]
80 fail-if = [
81   "os == 'linux' && os_version == '18.04'",
82   "os == 'mac'",
85 ["test_queue_write_invalid_device.html"]
86 fail-if = [
87   "os == 'linux' && os_version == '18.04'",
90 ["test_submit_compute_empty.html"]
91 fail-if = [
92   "os == 'linux' && os_version == '18.04'",
93   "os == 'mac'",
96 ["test_submit_render_empty.html"]
97 fail-if = [
98   "os == 'linux' && os_version == '18.04'",
99   "os == 'mac'",
102 ["test_submit_render_empty.worker.html"]
103 fail-if = [
104   "os == 'linux' && os_version == '18.04'",
105   "os == 'mac'",