summaryrefslogtreecommitdiff
path: root/tests/specs
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
parente9cc8a2b53ee43289ab964539cca4753e700b6c3 (diff)
FUTURE(ext/ffi,ext/webgpu): stabilize FFI and WebGPU APIs (#24011)
Closes #23906
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/future/unstable_flags/main.js2
-rw-r--r--tests/specs/future/unstable_flags/main.out2
2 files changed, 4 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",
diff --git a/tests/specs/future/unstable_flags/main.out b/tests/specs/future/unstable_flags/main.out
index 27ba77dda..b979d62f4 100644
--- a/tests/specs/future/unstable_flags/main.out
+++ b/tests/specs/future/unstable_flags/main.out
@@ -1 +1,3 @@
true
+true
+true