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
This commit is contained in:
Matthew Gaudet 2020-07-23 15:35:04 +00:00
Родитель 7f2225ec09
Коммит d342d43b19
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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) {