Bug 1006899 - Only run the test if TypedObject is enabled. rs=nbp, a=test-only
authorRyan VanderMeulen <ryanvm@gmail.com>
Wed, 23 Jul 2014 13:29:05 -0400
changeset 208164 794d229b5125
parent 208163 b801d912ea0e
child 208165 ecdde13a0aaa
push id3750
push userryanvm@gmail.com
push date2014-07-23 17:33 +0000
treeherdermozilla-beta@794d229b5125 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp, test-only
bugs1006899
milestone32.0
Bug 1006899 - Only run the test if TypedObject is enabled. rs=nbp, a=test-only
js/src/jit-test/tests/ion/bug1006899.js
--- a/js/src/jit-test/tests/ion/bug1006899.js
+++ b/js/src/jit-test/tests/ion/bug1006899.js
@@ -1,8 +1,10 @@
+if (!this.hasOwnProperty("TypedObject"))
+  quit();
 
 this.__defineGetter__("x",
   function() {
     return this;
   }
 );
 function callback(obj) {}
 setObjectMetadataCallback(callback);