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 | |
parent | 5e1f00240df371a1c798814bbf0f628703211a95 (diff) | |
download | UXP-82f9efff935a4ac4379bdfddddc84aae84fc869e.tar UXP-82f9efff935a4ac4379bdfddddc84aae84fc869e.tar.gz UXP-82f9efff935a4ac4379bdfddddc84aae84fc869e.tar.lz UXP-82f9efff935a4ac4379bdfddddc84aae84fc869e.tar.xz UXP-82f9efff935a4ac4379bdfddddc84aae84fc869e.zip |
Bug 1331092 - Part 1: Add Symbol.asyncIterator.
Tag #1287
-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 4dad68e6e..7795c5e4c 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 8c5de1279..095d333a0 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) { |