summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/DateTimeFormat/prototype/formatRange/prop-desc.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/intl402/DateTimeFormat/prototype/formatRange/prop-desc.js')
-rw-r--r--js/src/tests/test262/intl402/DateTimeFormat/prototype/formatRange/prop-desc.js23
1 files changed, 23 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/DateTimeFormat/prototype/formatRange/prop-desc.js b/js/src/tests/test262/intl402/DateTimeFormat/prototype/formatRange/prop-desc.js
new file mode 100644
index 0000000000..e022b19320
--- /dev/null
+++ b/js/src/tests/test262/intl402/DateTimeFormat/prototype/formatRange/prop-desc.js
@@ -0,0 +1,23 @@
+// Copyright 2016 Mozilla Corporation. All rights reserved.
+// Copyright 2019 Igalia S.L. All rights reserved.
+// This code is governed by the license found in the LICENSE file.
+
+/*---
+description: Property type and descriptor.
+includes: [propertyHelper.js]
+features: [Intl.DateTimeFormat-formatRange]
+---*/
+
+assert.sameValue(
+ typeof Intl.DateTimeFormat.prototype.formatRange,
+ 'function',
+ '`typeof Intl.DateTimeFormat.prototype.formatRange` is `function`'
+);
+
+verifyProperty(Intl.DateTimeFormat.prototype, 'formatRange', {
+ enumerable: false,
+ writable: true,
+ configurable: true,
+});
+
+reportCompare(0, 0);