diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-12-04 19:57:19 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-12-17 06:25:26 -0500 |
commit | 82f9efff935a4ac4379bdfddddc84aae84fc869e (patch) | |
tree | 1b6138a3ddb235dbfaab52ea3f3b6a949ef15d11 /js | |
parent | 5e1f00240df371a1c798814bbf0f628703211a95 (diff) | |
download | uxp-82f9efff935a4ac4379bdfddddc84aae84fc869e.tar.gz |
Bug 1331092 - Part 1: Add Symbol.asyncIterator.
Tag #1287
Diffstat (limited to 'js')
-rw-r--r-- | js/src/jsapi.h | 1 | ||||
-rw-r--r-- | js/src/tests/ecma_6/Symbol/well-known.js | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/js/src/jsapi.h b/js/src/jsapi.h index 4dad68e6e2..7795c5e4ca 100644 --- a/js/src/jsapi.h +++ b/js/src/jsapi.h @@ -5088,6 +5088,7 @@ GetSymbolDescription(HandleSymbol symbol); macro(toPrimitive) \ macro(toStringTag) \ macro(unscopables) \ + macro(asyncIterator) \ macro(matchAll) enum class SymbolCode : uint32_t { diff --git a/js/src/tests/ecma_6/Symbol/well-known.js b/js/src/tests/ecma_6/Symbol/well-known.js index 8c5de12796..095d333a00 100644 --- a/js/src/tests/ecma_6/Symbol/well-known.js +++ b/js/src/tests/ecma_6/Symbol/well-known.js @@ -11,7 +11,8 @@ var names = [ "hasInstance", "split", "toPrimitive", - "unscopables" + "unscopables", + "asyncIterator" ]; for (var name of names) { |