diff options
Diffstat (limited to 'js/src/tests/test262/intl402/DurationFormat/prototype/resolvedOptions/prop-desc.js')
-rw-r--r-- | js/src/tests/test262/intl402/DurationFormat/prototype/resolvedOptions/prop-desc.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/DurationFormat/prototype/resolvedOptions/prop-desc.js b/js/src/tests/test262/intl402/DurationFormat/prototype/resolvedOptions/prop-desc.js new file mode 100644 index 0000000000..1b667908c4 --- /dev/null +++ b/js/src/tests/test262/intl402/DurationFormat/prototype/resolvedOptions/prop-desc.js @@ -0,0 +1,24 @@ +// |reftest| skip -- Intl.DurationFormat is not supported +// Copyright (C) 2022 Igalia, S.L. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-Intl.DurationFormat.prototype.resolvedOptions +description: Property descriptor of Intl.DurationFormat.prototype.resolvedOptions +includes: [propertyHelper.js] +features: [Intl.DurationFormat] +---*/ + +assert.sameValue( + typeof Intl.DurationFormat.prototype.resolvedOptions, + 'function', + '`typeof Intl.DurationFormat.prototype.resolvedOptions` is `function`' +); + +verifyProperty(Intl.DurationFormat.prototype, 'resolvedOptions', { + enumerable: false, + writable: true, + configurable: true, +}); + +reportCompare(0, 0); |