diff options
Diffstat (limited to 'js/src/jit-test/tests/Set/getter-name.js')
-rw-r--r-- | js/src/jit-test/tests/Set/getter-name.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/Set/getter-name.js b/js/src/jit-test/tests/Set/getter-name.js new file mode 100644 index 0000000000..fe049d32a9 --- /dev/null +++ b/js/src/jit-test/tests/Set/getter-name.js @@ -0,0 +1,3 @@ +// Set getters should have get prefix +assertEq(Object.getOwnPropertyDescriptor(Set, Symbol.species).get.name, "get [Symbol.species]"); +assertEq(Object.getOwnPropertyDescriptor(Set.prototype, "size").get.name, "get size"); |