summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/shell-prefs-fuzzing.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/shell-prefs-fuzzing.js')
-rw-r--r--js/src/jit-test/tests/basic/shell-prefs-fuzzing.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/shell-prefs-fuzzing.js b/js/src/jit-test/tests/basic/shell-prefs-fuzzing.js
new file mode 100644
index 0000000000..29d3acb347
--- /dev/null
+++ b/js/src/jit-test/tests/basic/shell-prefs-fuzzing.js
@@ -0,0 +1,4 @@
+// |jit-test| --fuzzing-safe; --setpref=foobar=123; error:987
+// If --fuzzing-safe is used, unknown pref names are ignored, similar to unknown
+// shell flags.
+throw 987;