| 1 |
// Copyright (C) 2015 André Bargull. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
|
| 4 |
/*--- |
| 5 |
es6id: 18.2.6.2 |
| 6 |
esid: sec-decodeuri-encodeduri |
| 7 |
description: > |
| 8 |
decodeURI.name is "decodeURI". |
| 9 |
info: | |
| 10 |
decodeURI (encodedURI) |
| 11 |
|
| 12 |
17 ECMAScript Standard Built-in Objects: |
| 13 |
Every built-in Function object, including constructors, that is not |
| 14 |
identified as an anonymous function has a name property whose value |
| 15 |
is a String. |
| 16 |
|
| 17 |
Unless otherwise specified, the name property of a built-in Function |
| 18 |
object, if it exists, has the attributes { [[Writable]]: false, |
| 19 |
[[Enumerable]]: false, [[Configurable]]: true }. |
| 20 |
includes: [propertyHelper.js] |
| 21 |
---*/ |
| 22 |
|
| 23 |
assert.sameValue(decodeURI.name, "decodeURI"); |
| 24 |
|
| 25 |
verifyNotEnumerable(decodeURI, "name"); |
| 26 |
verifyNotWritable(decodeURI, "name"); |
| 27 |
verifyConfigurable(decodeURI, "name"); |