Closed robpalme closed 8 years ago
This seems obvious from the spec, but please confirm:
Bad specifiers (e.g. non-strings, bad URLs, nonsense unicode) will never cause import() to throw. Instead, import() will return a rejected promise.
Yes, that is correct. As you noted, it should be pretty clear from the spec.
This seems obvious from the spec, but please confirm:
Bad specifiers (e.g. non-strings, bad URLs, nonsense unicode) will never cause import() to throw. Instead, import() will return a rejected promise.