[DEFAULT]
subsuite = "webgpu"
run-if = [
  "early_beta_or_earlier",
  "os == 'mac' && arch == 'aarch64'",
  "os == 'win'",
]
prefs = [
  "dom.webgpu.enabled=true",
  "dom.webgpu.service-workers.enabled=true",
  # Ignoring the blocklist is necessary to run tests in CI on old Mesa versions
  # (https://bugzilla.mozilla.org/show_bug.cgi?id=1985348).
  "gfx.webgpu.ignore-blocklist=true",
  "privacy.fingerprintingProtection=true",
  "privacy.fingerprintingProtection.overrides='-AllTargets,+WebGPULimits'",
]

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

["test_rfp_clamp_limits_on.html"]
