Bug 1540798 - Add testcase for fuzzbug. r=jorendorff
authorAshley Hauck <khyperia@mozilla.com>
Mon, 15 Apr 2019 19:16:29 +0000
changeset 469548 284ef8e23db0
parent 469547 16ef941643e2
child 469549 58487e582e9e
push id35874
push userccoroiu@mozilla.com
push dateTue, 16 Apr 2019 04:04:58 +0000
treeherdermozilla-central@be3f40425b52 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1540798
milestone68.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 1540798 - Add testcase for fuzzbug. r=jorendorff Differential Revision: https://phabricator.services.mozilla.com/D27557
js/src/jit-test/tests/fields/bug1540798.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/fields/bug1540798.js
@@ -0,0 +1,14 @@
+try { evaluate(`
+class constructor  { get;                                           } // Long line is long
+// Long line XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+test();
+function test() {
+    try {
+      x;
+    } catch (v) {
+      gc();
+    }
+}
+test();
+`); } catch(exc) {}
+uneval(this);