summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/mochitest/mochitest.toml
blob: f32d7a9a86daf40cea6a32fb93566ad94348f2e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[DEFAULT]
subsuite = "webgpu"
run-if = ["!release_or_beta"]
prefs = [
  "dom.webgpu.enabled=true",
  "dom.webgpu.workers.enabled=true",
  "gfx.offscreencanvas.enabled=true",
]
support-files = [
  "worker_wrapper.js",
  "test_basic_canvas.worker.js",
  "test_submit_render_empty.worker.js",
]

# WebGPU is only available in secure contexts.
#
# See spec WebIDL, like this: https://www.w3.org/TR/webgpu/#navigatorgpu
scheme = "https"

["test_basic_canvas.worker.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_buffer_mapping.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_buffer_mapping_invalid_device.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_command_buffer_creation.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_context_configure.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_device_creation.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_device_lost.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_double_encoder_finish.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_enabled.html"]

["test_error_scope.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_insecure_context.html"]
# This test checks that WebGPU is not available in insecure contexts.
scheme = "http"

["test_navigator_gpu_not_replaceable.html"]

["test_queue_copyExternalImageToTexture.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_queue_write.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_queue_write_invalid_device.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_submit_compute_empty.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_submit_render_empty.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]

["test_submit_render_empty.worker.html"]
fail-if = [
  "os == 'linux' && os_version == '18.04'",
  "os == 'mac'",
]