aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/intl402/ch12/12.3/12.3.2_L15.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/intl402/ch12/12.3/12.3.2_L15.js')
-rw-r--r--test/suite/intl402/ch12/12.3/12.3.2_L15.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/suite/intl402/ch12/12.3/12.3.2_L15.js b/test/suite/intl402/ch12/12.3/12.3.2_L15.js
new file mode 100644
index 000000000..73d309e26
--- /dev/null
+++ b/test/suite/intl402/ch12/12.3/12.3.2_L15.js
@@ -0,0 +1,14 @@
+// Copyright 2012 Mozilla Corporation. All rights reserved.
+// This code is governed by the license found in the LICENSE file.
+
+/**
+ * @description Tests that the getter for Intl.DateTimeFormat.prototype.format
+ * meets the requirements for built-in objects defined by the introduction of
+ * chapter 15 of the ECMAScript Language Specification.
+ * @author Norbert Lindenberg
+ */
+
+$INCLUDE("testBuiltInObject.js");
+
+testBuiltInObject(Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype, "format").get , true, false, [], 0);
+