diff options
Diffstat (limited to 'js/src/jit-test/tests/gc/gczeal-range.js')
-rw-r--r-- | js/src/jit-test/tests/gc/gczeal-range.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/gc/gczeal-range.js b/js/src/jit-test/tests/gc/gczeal-range.js new file mode 100644 index 0000000000..1589a54af5 --- /dev/null +++ b/js/src/jit-test/tests/gc/gczeal-range.js @@ -0,0 +1,5 @@ +try { + gczeal(123); +} catch(e) { + assertEq(e.toString().includes("out of range"), true); +} |