summaryrefslogtreecommitdiff
path: root/tests/specs/future/unstable_flags/main.js
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-05-28 21:37:43 +1000
committerGitHub <noreply@github.com>2024-05-28 11:37:43 +0000
commitadbd564758d0f596cee5f23054b24571328bb5d6 (patch)
tree6dd9e6f0f48f6450817d5bb4a2b96364ff56b81d /tests/specs/future/unstable_flags/main.js
parente9cc8a2b53ee43289ab964539cca4753e700b6c3 (diff)
FUTURE(ext/ffi,ext/webgpu): stabilize FFI and WebGPU APIs (#24011)
Closes #23906
Diffstat (limited to 'tests/specs/future/unstable_flags/main.js')
-rw-r--r--tests/specs/future/unstable_flags/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/specs/future/unstable_flags/main.js b/tests/specs/future/unstable_flags/main.js
index 0d86d0d09..51af892f6 100644
--- a/tests/specs/future/unstable_flags/main.js
+++ b/tests/specs/future/unstable_flags/main.js
@@ -1,3 +1,5 @@
+console.log(typeof await navigator.gpu.requestAdapter() === "object"); // Throws without `--unstable-gpu`
+console.log(typeof Deno.dlopen === "function"); // Undefined without `--unstable-ffi`
console.log(
// Undefined without `--unstable-fs`
Deno.build.os === "windows" ? true : typeof Deno.umask === "function",