summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/unsupported/requires-floatingpoint.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/wasm/unsupported/requires-floatingpoint.js')
-rw-r--r--js/src/jit-test/tests/wasm/unsupported/requires-floatingpoint.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/unsupported/requires-floatingpoint.js b/js/src/jit-test/tests/wasm/unsupported/requires-floatingpoint.js
new file mode 100644
index 0000000000..40744ab130
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/unsupported/requires-floatingpoint.js
@@ -0,0 +1,4 @@
+// |jit-test| skip-if: !getBuildConfiguration().arm; --arm-hwcap=armv7
+
+// Wasm should be unavailable in this configuration: armv7 without floating point.
+assertEq(typeof WebAssembly, "undefined");