summaryrefslogtreecommitdiffstats
path: root/js/src
diff options
context:
space:
mode:
Diffstat (limited to 'js/src')
-rw-r--r--js/src/jsapi.h1
-rw-r--r--js/src/tests/ecma_6/Symbol/well-known.js3
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) {