Subject: Issue #618 - Align module instantiation/errors with the updated spec.

From: Moonchild <[email-masked]>
Date: Fri, 3 Jul 2020 13:56:49 +0000

Store and re-throw module instantiation and evaluation errors.
Ref: BZ 1374239, 1394492
---
 js/src/js.msg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'js/src/js.msg')

diff --git a/js/src/js.msg b/js/src/js.msg
index 9dc5f4e9f..ee74c8dd5 100644
--- a/js/src/js.msg
+++ b/js/src/js.msg
@@ -580,7 +580,7 @@ MSG_DEF(JSMSG_AMBIGUOUS_IMPORT,          1, JSEXN_SYNTAXERR, "ambiguous import '
 MSG_DEF(JSMSG_MISSING_NAMESPACE_EXPORT,  0, JSEXN_SYNTAXERR, "export not found for namespace")
 MSG_DEF(JSMSG_MISSING_EXPORT,            1, JSEXN_SYNTAXERR, "local binding for export '{0}' not found")
 MSG_DEF(JSMSG_MODULE_INSTANTIATE_FAILED, 0, JSEXN_INTERNALERR, "attempt to re-instantiate module after failure")
-MSG_DEF(JSMSG_BAD_MODULE_STATE,          0, JSEXN_INTERNALERR, "module record in unexpected state")
+MSG_DEF(JSMSG_BAD_MODULE_STATUS,         0, JSEXN_INTERNALERR, "module record has unexpected status")
 
 // Promise
 MSG_DEF(JSMSG_CANNOT_RESOLVE_PROMISE_WITH_ITSELF,       0, JSEXN_TYPEERR, "A promise cannot be resolved with itself.")
-- 
cgit v1.2.3