summaryrefslogtreecommitdiff
path: root/test/intl402/DateTimeFormat/12.1_L15.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/intl402/DateTimeFormat/12.1_L15.js')
-rw-r--r--test/intl402/DateTimeFormat/12.1_L15.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/intl402/DateTimeFormat/12.1_L15.js b/test/intl402/DateTimeFormat/12.1_L15.js
index 8f54cb06d..ef746f6a1 100644
--- a/test/intl402/DateTimeFormat/12.1_L15.js
+++ b/test/intl402/DateTimeFormat/12.1_L15.js
@@ -8,7 +8,12 @@ description: >
built-in objects defined by the introduction of chapter 17 of the
ECMAScript Language Specification.
author: Norbert Lindenberg
-includes: [testBuiltInObject.js]
---*/
-testBuiltInObject(Intl.DateTimeFormat, true, true);
+assert.sameValue(Object.prototype.toString.call(Intl.DateTimeFormat), "[object Function]",
+ "The [[Class]] internal property of a built-in function must be " +
+ "\"Function\".");
+
+assert(Object.isExtensible(Intl.DateTimeFormat), "Built-in objects must be extensible.");
+
+assert.sameValue(Object.getPrototypeOf(Intl.DateTimeFormat), Function.prototype);