Bug 1247862 - Guard against TypedObject being unavailable on !NIGHTLY_BUILD. r=sfink
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 01 Mar 2016 21:32:48 -0500
changeset 286346 b1af09a2c2d1f01ec45e34b3b0ae5b4f3b533f50
parent 286345 eacf24b301ac0207e1dd1283f11133904cacbfb8
child 286347 9cd2ffe8ceaf573063ce5f04a0f00e4ed53816c9
push id72738
push userryanvm@gmail.com
push dateWed, 02 Mar 2016 03:07:16 +0000
treeherdermozilla-inbound@3bd640d45525 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink
bugs1247862
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 1247862 - Guard against TypedObject being unavailable on !NIGHTLY_BUILD. r=sfink
js/src/jit-test/tests/baseline/bug1247862.js
--- a/js/src/jit-test/tests/baseline/bug1247862.js
+++ b/js/src/jit-test/tests/baseline/bug1247862.js
@@ -1,8 +1,11 @@
+if (!this.hasOwnProperty("TypedObject"))
+  quit();
+
 var T = TypedObject;
 ValueStruct = new T.StructType({
     f: T.int32,
     g: T.Any
 });
 var v = new ValueStruct;
 for (var i = 0; i < 2; i++) {
     var a = {};