Bug 1245767 followup - Make the test work in opt shell builds too. r=me
authorJan de Mooij <jdemooij@mozilla.com>
Fri, 05 Feb 2016 14:06:48 +0100
changeset 283183 a25fd5f06b68a3b8849637d97ef4841b00a9c4ae
parent 283182 bdd28f4c1f0d0ab2f52a05937fbbb08f2131bd85
child 283184 9f7157c44c017c82e27f3d2ab77bfb4b2bea79da
push id71447
push userjandemooij@gmail.com
push dateFri, 05 Feb 2016 13:08:05 +0000
treeherdermozilla-inbound@a25fd5f06b68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1245767
milestone47.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 1245767 followup - Make the test work in opt shell builds too. r=me
js/src/jit-test/tests/gc/gczeal-range.js
--- a/js/src/jit-test/tests/gc/gczeal-range.js
+++ b/js/src/jit-test/tests/gc/gczeal-range.js
@@ -1,2 +1,5 @@
-// |jit-test| error:out of range
-gczeal(123);
+try {
+    gczeal(123);
+} catch(e) {
+    assertEq(e.toString().includes("out of range"), true);
+}