Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

  • This test gets skipped with pattern: verify OR os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11' && !early_beta_or_earlier OR os == 'mac' && os_version == '14.70' && arch == 'x86_64'
  • Manifest: dom/webgpu/tests/mochitest/mochitest-no-pref.toml
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" href="/tests/SimpleTest/test.css" />
</head>
<body>
<script>
ok(
SpecialPowers.getBoolPref("dom.webgpu.enabled"),
"Pref should be enabled."
);
ok(navigator.gpu !== undefined, "navigator.gpu !== undefined");
</script>
</body>
</html>