mirror of
https://github.com/tc39/test262.git
synced 2025-08-27 21:08:30 +02:00
- Updated DateTimeFormat tests for new handling of hour12 options property. - Added a few invalid language tags to test of IsStructurallyValidLanguageTag. - Added user-defined language tag to test of CanonicalizeLanguageTag. - Added test for the Intl property of the global object.
16 lines
524 B
JavaScript
16 lines
524 B
JavaScript
// Copyright 2012 Mozilla Corporation. All rights reserved.
|
|
// This code is governed by the license found in the LICENSE file.
|
|
|
|
/**
|
|
* @description Tests that Intl
|
|
* 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(fnGlobalObject().Intl, false, false, []);
|
|
testBuiltInObject(Intl, false, false, ["Collator", "NumberFormat", "DateTimeFormat"]);
|
|
|