diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/tests/test262/built-ins/Function/prototype/bind/name.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/Function/prototype/bind/name.js b/js/src/tests/test262/built-ins/Function/prototype/bind/name.js index d9f70e68a4..634d4d95a7 100644 --- a/js/src/tests/test262/built-ins/Function/prototype/bind/name.js +++ b/js/src/tests/test262/built-ins/Function/prototype/bind/name.js @@ -19,10 +19,11 @@ info: | includes: [propertyHelper.js] ---*/ -assert.sameValue(Function.prototype.bind.name, "bind"); - -verifyNotEnumerable(Function.prototype.bind, "name"); -verifyNotWritable(Function.prototype.bind, "name"); -verifyConfigurable(Function.prototype.bind, "name"); +verifyProperty(Function.prototype.bind, "name", { + value: "bind", + writable: false, + enumerable: false, + configurable: true +}); reportCompare(0, 0); |