summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/DurationFormat/prototype/format/prop-desc.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/intl402/DurationFormat/prototype/format/prop-desc.js')
-rw-r--r--js/src/tests/test262/intl402/DurationFormat/prototype/format/prop-desc.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/DurationFormat/prototype/format/prop-desc.js b/js/src/tests/test262/intl402/DurationFormat/prototype/format/prop-desc.js
new file mode 100644
index 0000000000..ebb842ae83
--- /dev/null
+++ b/js/src/tests/test262/intl402/DurationFormat/prototype/format/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.format
+description: Property descriptor of Intl.DurationFormat.prototype.format
+includes: [propertyHelper.js]
+features: [Intl.DurationFormat]
+---*/
+
+assert.sameValue(
+ typeof Intl.DurationFormat.prototype.format,
+ 'function',
+ '`typeof Intl.DurationFormat.prototype.format` is `function`'
+);
+
+verifyProperty(Intl.DurationFormat.prototype, 'format', {
+ enumerable: false,
+ writable: true,
+ configurable: true,
+});
+
+reportCompare(0, 0);