mochitest.toml (1948B)
1 [DEFAULT] 2 subsuite = "webgpu" 3 4 # This file's tests should run when WebGPU is enabled by the default 5 # value of `dom.webgpu.enabled` in `modules/libpref/init/StaticPrefList.yaml`. 6 # 7 # These conditions should be the same as the `skip-if` conditions in 8 # `mochitest-no-pref.html`, except for `verify`. 9 run-if = [ 10 "early_beta_or_earlier", 11 "os == 'mac' && arch == 'aarch64'", 12 "os == 'win'", 13 ] 14 15 prefs = [ 16 "dom.webgpu.service-workers.enabled=true", 17 # Ignoring the blocklist is necessary to run tests in CI on old Mesa versions 18 # (https://bugzilla.mozilla.org/show_bug.cgi?id=1985348). 19 "gfx.webgpu.ignore-blocklist=true", 20 ] 21 support-files = [ 22 "worker_wrapper.js", 23 "test_basic_canvas.worker.js", 24 "test_submit_render_empty.worker.js", 25 ] 26 27 # WebGPU is only available in secure contexts. 28 # 29 # See spec WebIDL, like this: https://www.w3.org/TR/webgpu/#navigatorgpu 30 scheme = "https" 31 32 ["test_adapter_enabled.html"] 33 34 ["test_basic_canvas.worker.html"] 35 36 ["test_buffer_mapping.html"] 37 38 ["test_buffer_mapping_invalid_device.html"] 39 40 ["test_buffer_mapping_overlapping_views.html"] 41 42 ["test_command_buffer_creation.html"] 43 44 ["test_compilation_message_pos.html"] 45 46 ["test_context_configure.html"] 47 48 ["test_core_features_and_limits.html"] 49 50 ["test_device_creation.html"] 51 52 ["test_device_lost.html"] 53 54 ["test_double_encoder_finish.html"] 55 56 ["test_enabled.html"] 57 58 ["test_encoder_cycle_collection.html"] 59 60 ["test_error_scope.html"] 61 62 ["test_insecure_context.html"] 63 # This test checks that WebGPU is not available in insecure contexts. 64 scheme = "http" 65 66 ["test_navigator_gpu_not_replaceable.html"] 67 68 ["test_queue_copyExternalImageToTexture.html"] 69 70 ["test_queue_write.html"] 71 72 ["test_queue_write_invalid_device.html"] 73 74 ["test_rfp_clamp_limits_off.html"] 75 76 ["test_set_bind_group_null.html"] 77 78 ["test_shared_array_buffer.html"] 79 80 ["test_submit_compute_empty.html"] 81 82 ["test_submit_render_empty.html"] 83 84 ["test_submit_render_empty.worker.html"] 85 86 ["test_submit_render_multiple.html"]