summaryrefslogtreecommitdiffstats
path: root/js/src/js.msg
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-12-14 09:22:48 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-12-17 06:25:28 -0500
commit5bdfdb678d4063f77392d5029b9803c8cdc6f248 (patch)
treee9edbaddf0c3cd48fe05765d519e665c019f3e02 /js/src/js.msg
parent580dfb2afbef15764b56714f3eb690a67f0af9c1 (diff)
downloadUXP-5bdfdb678d4063f77392d5029b9803c8cdc6f248.tar
UXP-5bdfdb678d4063f77392d5029b9803c8cdc6f248.tar.gz
UXP-5bdfdb678d4063f77392d5029b9803c8cdc6f248.tar.lz
UXP-5bdfdb678d4063f77392d5029b9803c8cdc6f248.tar.xz
UXP-5bdfdb678d4063f77392d5029b9803c8cdc6f248.zip
Bug 1331092 - Part 9: Implement for-await-of.
Tag #1287
Diffstat (limited to 'js/src/js.msg')
-rw-r--r--js/src/js.msg1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/js.msg b/js/src/js.msg
index d22265ba8..f8e5358bb 100644
--- a/js/src/js.msg
+++ b/js/src/js.msg
@@ -595,6 +595,7 @@ MSG_DEF(JSMSG_RETURN_NOT_CALLABLE, 0, JSEXN_TYPEERR, "property 'return' of i
MSG_DEF(JSMSG_ITERATOR_NO_THROW, 0, JSEXN_TYPEERR, "iterator does not have a 'throw' method")
// Async Iteration
+MSG_DEF(JSMSG_FOR_AWAIT_NOT_OF, 0, JSEXN_TYPEERR, "'for await' loop should be used with 'of'")
MSG_DEF(JSMSG_NOT_AN_ASYNC_GENERATOR, 0, JSEXN_TYPEERR, "Not an async generator")
MSG_DEF(JSMSG_NOT_AN_ASYNC_ITERATOR, 0, JSEXN_TYPEERR, "Not an async from sync iterator")
MSG_DEF(JSMSG_GET_ASYNC_ITER_RETURNED_PRIMITIVE, 0, JSEXN_TYPEERR, "[Symbol.asyncIterator]() returned a non-object value")