diff options
author | Leonardo Balter <leonardo.balter@gmail.com> | 2017-03-02 17:29:08 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2017-03-14 10:50:01 -0400 |
commit | f45341ca4eb8f8ac7178779c32cf2730654fd36c (patch) | |
tree | 2520be8c7560c406882824bbc1b2fea548f69c08 /test/built-ins/Math/exp | |
parent | 2c1aed0db6e639625b8ae6842cb74f1c91c4657f (diff) | |
download | qtdeclarative-testsuites-f45341ca4eb8f8ac7178779c32cf2730654fd36c.tar.gz |
Add and update descriptor tests for Math properties
Diffstat (limited to 'test/built-ins/Math/exp')
-rw-r--r-- | test/built-ins/Math/exp/prop-desc.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/built-ins/Math/exp/prop-desc.js b/test/built-ins/Math/exp/prop-desc.js new file mode 100644 index 000000000..7ae58d86a --- /dev/null +++ b/test/built-ins/Math/exp/prop-desc.js @@ -0,0 +1,17 @@ +// Copyright (C) 2017 the V8 project authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-math.exp +description: > + "exp" property of Math +info: | + Section 17: Every other data property described in clauses 18 through 26 + and in Annex B.2 has the attributes { [[Writable]]: true, + [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified. +includes: [propertyHelper.js] +---*/ + +verifyNotEnumerable(Math, "exp"); +verifyWritable(Math, "exp"); +verifyConfigurable(Math, "exp"); |