From 1c4f5f9fdfc59bd9305b3d2d31a8460791580228 Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Tue, 23 Feb 2016 18:25:40 -0500 Subject: [PATCH] Normative: account for possible abrupt completion The GetExportedNames method returns an abrupt completion when the host cannot resolve the requested module. This possibility must be accounted for when the method invokes itself. --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index 205688eee6..cb40facae0 100644 --- a/spec.html +++ b/spec.html @@ -20747,7 +20747,7 @@

GetExportedNames( _exportStarSet_ ) Concrete Method

1. Append _e_.[[ExportName]] to _exportedNames_. 1. For each ExportEntry Record _e_ in _module_.[[StarExportEntries]], do 1. Let _requestedModule_ be ? HostResolveImportedModule(_module_, _e_.[[ModuleRequest]]). - 1. Let _starNames_ be _requestedModule_.GetExportedNames(_exportStarSet_). + 1. Let _starNames_ be ? _requestedModule_.GetExportedNames(_exportStarSet_). 1. For each element _n_ of _starNames_, do 1. If SameValue(_n_, `"default"`) is *false*, then 1. If _n_ is not an element of _exportedNames_, then