summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/Locale/prototype/prop-desc.js
blob: f31eec1c2560c6196e74b25b9bc2456f9881e4e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2018 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-intl.locale.prototype
description: >
    Checks the "prototype" property of the Locale constructor.
info: |
    Intl.Locale.prototype

    The value of Intl.Locale.prototype is %LocalePrototype%.

    This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
includes: [propertyHelper.js]
features: [Intl.Locale]
---*/

verifyProperty(Intl.Locale, 'prototype', {
  writable: false,
  enumerable: false,
  configurable: false,
});

reportCompare(0, 0);