| Index: test/intl/toStringTag.js
|
| diff --git a/test/intl/toStringTag.js b/test/intl/toStringTag.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e215bcb73623a6e9188c46cd3b85ce7c516406fe
|
| --- /dev/null
|
| +++ b/test/intl/toStringTag.js
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2016 the V8 project authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +let descriptor;
|
| +
|
| +descriptor = Object.getOwnPropertyDescriptor(Intl.DateTimeFormat.prototype,
|
| + Symbol.toStringTag);
|
| +
|
| +assertEquals("Object", descriptor.value);
|
| +assertFalse(descriptor.writable);
|
| +assertFalse(descriptor.enumerable);
|
| +assertTrue(descriptor.configurable);
|
| +
|
| +descriptor = Object.getOwnPropertyDescriptor(Intl.NumberFormat.prototype,
|
| + Symbol.toStringTag);
|
| +
|
| +assertEquals("Object", descriptor.value);
|
| +assertFalse(descriptor.writable);
|
| +assertFalse(descriptor.enumerable);
|
| +assertTrue(descriptor.configurable);
|
| +
|
| +descriptor = Object.getOwnPropertyDescriptor(Intl.Collator.prototype,
|
| + Symbol.toStringTag);
|
| +
|
| +assertEquals("Object", descriptor.value);
|
| +assertFalse(descriptor.writable);
|
| +assertFalse(descriptor.enumerable);
|
| +assertTrue(descriptor.configurable);
|
|
|