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 496128 f6a61c3b3dbb8609c91c2aced93f8ce89b20a33f
parent 496127 6112cec4211f0bae17f06dab23d951e05d2deebd
child 496129 085483ce64fefc6564581ed67f706471a8aa0a47
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [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);
     }
 }