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 794d229b5125b19b7de997e78167eb76988c5164
parent 208163 b801d912ea0e3c0ed5db9b1930bf8f463d4d9a20
child 208165 ecdde13a0aaae51556be10140551f09072408d40
push id3750
push userryanvm@gmail.com
push dateWed, 23 Jul 2014 17:33:15 +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);