diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/WeakMap/prototype/has/name.js')
-rw-r--r-- | js/src/tests/test262/built-ins/WeakMap/prototype/has/name.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/js/src/tests/test262/built-ins/WeakMap/prototype/has/name.js b/js/src/tests/test262/built-ins/WeakMap/prototype/has/name.js index 558f24335d..15595af753 100644 --- a/js/src/tests/test262/built-ins/WeakMap/prototype/has/name.js +++ b/js/src/tests/test262/built-ins/WeakMap/prototype/has/name.js @@ -12,13 +12,11 @@ info: | includes: [propertyHelper.js] ---*/ -assert.sameValue( - WeakMap.prototype.has.name, 'has', - 'The value of WeakMap.prototype.has.name is "has"' -); - -verifyNotEnumerable(WeakMap.prototype.has, 'name'); -verifyNotWritable(WeakMap.prototype.has, 'name'); -verifyConfigurable(WeakMap.prototype.has, 'name'); +verifyProperty(WeakMap.prototype.has, "name", { + value: "has", + writable: false, + enumerable: false, + configurable: true +}); reportCompare(0, 0); |