No Bug - Ensure that ion/bug1185957.js won't permafail on uplift. (r=me)
authorEric Faust <efaustbmo@gmail.com>
Sun, 13 Sep 2015 20:16:56 -0700
changeset 294862 a92e195a3362fa097b6fb8842b44de941e8f333c
parent 294861 4496829ff993e1ff864b930eac75e88a6fa64ea8
child 294863 fba4b0cd3823975949765acc0b16b964d1712b75
child 294881 346b9ee524d1a704ea953ef16237f3d0c7ee56d1
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1185957
milestone43.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
No Bug - Ensure that ion/bug1185957.js won't permafail on uplift. (r=me)
js/src/jit-test/tests/ion/bug1185957.js
--- a/js/src/jit-test/tests/ion/bug1185957.js
+++ b/js/src/jit-test/tests/ion/bug1185957.js
@@ -6,10 +6,13 @@ var test = `
 class test {
     constructor() {};
 }
 (function() {
     test()
 })();
 `;
 
+// Throw, even if we cannot run the test
 if (classesEnabled())
     eval(test);
+else
+    throw new TypeError();