diff --git a/test/built-ins/WeakMap/prototype/prototype-attributes.js b/test/built-ins/WeakMap/prototype/prototype-attributes.js new file mode 100644 index 0000000000..19941f4ce5 --- /dev/null +++ b/test/built-ins/WeakMap/prototype/prototype-attributes.js @@ -0,0 +1,12 @@ +// Copyright (C) 2015 the V8 project authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +/*--- +es6id: 23.3.2.1 +description: > + WeakMap.prototype is not writable, not enumerable and not configurable. +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(WeakMap, 'prototype'); +verifyNotWritable(WeakMap, 'prototype'); +verifyNotConfigurable(WeakMap, 'prototype');