From d342d43b19617c6314fa152840358e02566c69b7 Mon Sep 17 00:00:00 2001 From: Matthew Gaudet Date: Thu, 23 Jul 2020 15:35:04 +0000 Subject: [PATCH] Bug 1654235 - Make sure Private Fields TypedObject test only runs when TypedObjects are available r=jorendorff As well, following the footsteps of our other tests, require the shell. Differential Revision: https://phabricator.services.mozilla.com/D84344 --- js/src/tests/non262/PrivateName/typedObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/tests/non262/PrivateName/typedObject.js b/js/src/tests/non262/PrivateName/typedObject.js index 9fc44e82f37c..9659ac94e040 100644 --- a/js/src/tests/non262/PrivateName/typedObject.js +++ b/js/src/tests/non262/PrivateName/typedObject.js @@ -1,4 +1,4 @@ -// |reftest| shell-option(--enable-private-fields) +// |reftest| shell-option(--enable-private-fields) skip-if(!this.hasOwnProperty("TypedObject")||!xulRuntime.shell) -- requires typed objects and the shell option class Base { constructor(o) {