name.js 892 B

1234567891011121314151617181920212223242526
  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. esid: sec-arraybuffer.isview
  5. description: >
  6. ArrayBuffer.isView.name is "isView".
  7. info: |
  8. ArrayBuffer.isView ( arg )
  9. 17 ECMAScript Standard Built-in Objects:
  10. Every built-in Function object, including constructors, that is not
  11. identified as an anonymous function has a name property whose value
  12. is a String.
  13. Unless otherwise specified, the name property of a built-in Function
  14. object, if it exists, has the attributes { [[Writable]]: false,
  15. [[Enumerable]]: false, [[Configurable]]: true }.
  16. includes: [propertyHelper.js]
  17. ---*/
  18. assert.sameValue(ArrayBuffer.isView.name, "isView");
  19. verifyNotEnumerable(ArrayBuffer.isView, "name");
  20. verifyNotWritable(ArrayBuffer.isView, "name");
  21. verifyConfigurable(ArrayBuffer.isView, "name");