Bug 1416727 followup - Add try-catch to ignore overrecursion exceptions. r=red
authorJan de Mooij <jdemooij@mozilla.com>
Wed, 13 Dec 2017 17:59:44 -0600
changeset 396385 80bd0089e77fad6dab95a880c92f3acf14bb2183
parent 396384 d55477dfbd5a9c16c912197ebd195f116147b909
child 396386 80ed22b2c35c71738d8bb17e5ab9923753a4afcb
push id56975
push userdluca@mozilla.com
push dateThu, 14 Dec 2017 09:59:07 +0000
treeherderautoland@16bcfaad13e1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersred
bugs1416727
milestone59.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 1416727 followup - Add try-catch to ignore overrecursion exceptions. r=red
js/src/jit-test/tests/baseline/bug1416727.js
--- a/js/src/jit-test/tests/baseline/bug1416727.js
+++ b/js/src/jit-test/tests/baseline/bug1416727.js
@@ -11,9 +11,11 @@ function test() {
             return;
         }
         try {
             test();
         } finally {}
     }
     f(80);
 }
-test();
+try {
+    test();
+} catch(e) {}