summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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) {