Bug 1481093 - Exit test early if TypedObject is not defined. r=jonco
☠☠ backed out by e7c6a3233a73 ☠ ☠
authorAndreea Pavel <apavel@mozilla.com>
Tue, 14 Aug 2018 16:16:38 +0300
changeset 486593 8e3582b4162117fb0e721b474133c2f97b7b53da
parent 486592 1197612113fc404526166f19045ae7127ac7b2a7
child 486594 e7c6a3233a73880101e8c491392d339e6b3ae566
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonco
bugs1481093
milestone63.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 1481093 - Exit test early if TypedObject is not defined. r=jonco
js/src/jit-test/tests/gc/bug-1481093.js
--- a/js/src/jit-test/tests/gc/bug-1481093.js
+++ b/js/src/jit-test/tests/gc/bug-1481093.js
@@ -1,5 +1,8 @@
+if (!this.hasOwnProperty("TypedObject"))
+  quit();
+
 v = new new TypedObject.StructType({
     f: TypedObject.Any
 })
 gczeal(14);
 var lfOffThreadGlobal = newGlobal();