Bug 1548759 - Add crash tests. r=jorendorff
authorTom Schuster <evilpies@gmail.com>
Wed, 05 Jun 2019 15:12:20 +0000
changeset 477856 dd17bc19ea6dd7fc6ac2e578104cc3321cac284d
parent 477855 89b7f73b270126eea62ee77f6873805976fd8abe
child 477857 860db7b359a3fe62ecfb5e62ab5a443b43de9a34
push id36125
push userapavel@mozilla.com
push dateFri, 07 Jun 2019 22:00:07 +0000
treeherdermozilla-central@d820bbb356aa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1548759
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1548759 - Add crash tests. r=jorendorff Differential Revision: https://phabricator.services.mozilla.com/D33578
js/src/jit-test/tests/basic/bug1548759-1.js
js/src/jit-test/tests/basic/bug1548759-2.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug1548759-1.js
@@ -0,0 +1,6 @@
+// |jit-test| skip-if: !('oomTest' in this)
+(function() {
+    oomTest(async function() {
+        x;
+    })
+})();
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug1548759-2.js
@@ -0,0 +1,8 @@
+// |jit-test| skip-if: !('oomTest' in this)
+oomTest(function() {
+    return {
+        x: async function() {
+            y
+        }(), z
+    }
+});