diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/basic/bug1445854.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug1445854.js b/js/src/jit-test/tests/basic/bug1445854.js new file mode 100644 index 0000000000..76a6829cb2 --- /dev/null +++ b/js/src/jit-test/tests/basic/bug1445854.js @@ -0,0 +1,5 @@ +load(libdir + "asserts.js"); +if (typeof ReadableStream == "function") { + assertThrowsInstanceOf(() => ReadableStream.prototype.tee(), + TypeError); +} |