3 run-if = ["!release_or_beta"]
5 "dom.webgpu.enabled=true",
6 "dom.webgpu.workers.enabled=true",
7 "gfx.offscreencanvas.enabled=true",
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
20 ["test_basic_canvas.worker.html"]
22 "os == 'linux' && os_version == '18.04'",
26 ["test_buffer_mapping.html"]
28 "os == 'linux' && os_version == '18.04'",
32 ["test_buffer_mapping_invalid_device.html"]
34 "os == 'linux' && os_version == '18.04'",
38 ["test_command_buffer_creation.html"]
40 "os == 'linux' && os_version == '18.04'",
44 ["test_context_configure.html"]
46 "os == 'linux' && os_version == '18.04'",
50 ["test_device_creation.html"]
52 "os == 'linux' && os_version == '18.04'",
56 ["test_device_lost.html"]
58 "os == 'linux' && os_version == '18.04'",
62 ["test_double_encoder_finish.html"]
64 "os == 'linux' && os_version == '18.04'",
70 ["test_error_scope.html"]
72 "os == 'linux' && os_version == '18.04'",
76 ["test_insecure_context.html"]
77 # This test checks that WebGPU is not available in insecure contexts.
80 ["test_navigator_gpu_not_replaceable.html"]
82 ["test_queue_copyExternalImageToTexture.html"]
84 "os == 'linux' && os_version == '18.04'",
88 ["test_queue_write.html"]
90 "os == 'linux' && os_version == '18.04'",
94 ["test_queue_write_invalid_device.html"]
96 "os == 'linux' && os_version == '18.04'",
100 ["test_submit_compute_empty.html"]
102 "os == 'linux' && os_version == '18.04'",
106 ["test_submit_render_empty.html"]
108 "os == 'linux' && os_version == '18.04'",
112 ["test_submit_render_empty.worker.html"]
114 "os == 'linux' && os_version == '18.04'",