diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-length.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-length.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-length.js b/js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-length.js index ac59134301..2460658438 100644 --- a/js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-length.js +++ b/js/src/tests/test262/built-ins/Proxy/revocable/revocation-function-length.js @@ -17,10 +17,11 @@ features: [Proxy] var revocationFunction = Proxy.revocable({}, {}).revoke; -assert.sameValue(revocationFunction.length, 0); - -verifyNotEnumerable(revocationFunction, "length"); -verifyNotWritable(revocationFunction, "length"); -verifyConfigurable(revocationFunction, "length"); +verifyProperty(revocationFunction, "length", { + value: 0, + writable: false, + enumerable: false, + configurable: true +}); reportCompare(0, 0); |