Bug 920463 followup, keep the test from turning permaorange when we merge to aurora and TypedObject gets turned off
authorPhil Ringnalda <philringnalda@gmail.com>
Sun, 27 Oct 2013 16:19:56 -0700
changeset 152432 4040c38ec0a52f15f8cc377873bdc9a2c3df841b
parent 152431 2d537818dfb9e359b20bcf8a6fab80f7e7edb7ea
child 152433 222175ec725f3d2e2bfda3fe066218db6749b627
push id25540
push userphilringnalda@gmail.com
push dateMon, 28 Oct 2013 04:45:12 +0000
treeherdermozilla-central@59ff3a2a708a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs920463
milestone27.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 920463 followup, keep the test from turning permaorange when we merge to aurora and TypedObject gets turned off
js/src/jit-test/tests/TypedObject/bug920463.js
--- a/js/src/jit-test/tests/TypedObject/bug920463.js
+++ b/js/src/jit-test/tests/TypedObject/bug920463.js
@@ -1,10 +1,10 @@
 if (!this.hasOwnProperty("TypedObject"))
-  throw new TypeError();
+  quit();
 
 var StructType = TypedObject.StructType;
 var float64 = TypedObject.float64;
 
 var PointType3 = new StructType({ x: float64, y: float64});
 function xPlusY(p) {
   return p.x + p.y;
 }