Bug 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/realms/ (r=jornedorff)
authorEric Faust <efausbmo@gmail.com>
Tue, 09 Oct 2018 15:41:50 -0700
changeset 498840 f6a61c3b3dbb8609c91c2aced93f8ce89b20a33f
parent 498839 6112cec4211f0bae17f06dab23d951e05d2deebd
child 498841 085483ce64fefc6564581ed67f706471a8aa0a47
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjornedorff
bugs1496297
milestone64.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 1496297 - Use |jit-test| skip-if as appropriate in jit-test/tests/realms/ (r=jornedorff)
js/src/jit-test/tests/realms/switch-realms-classhook.js
--- a/js/src/jit-test/tests/realms/switch-realms-classhook.js
+++ b/js/src/jit-test/tests/realms/switch-realms-classhook.js
@@ -1,10 +1,10 @@
-if (!this.hasOwnProperty("TypedObject"))
-    quit();
+// |jit-test| skip-if: !this.hasOwnProperty("TypedObject")
+
 function test() {
     var g = newGlobal({sameCompartmentAs: this});
     var S = g.evaluate("new TypedObject.StructType({x: TypedObject.uint32});");
     for (var i = 0; i < 30; i++) {
         var o = new S();
         assertEq(objectGlobal(o), g);
     }
 }