whatwg/loader

[bug][important] step 6.c.i. [Let status be ? ExtractDependencies(entry, optionalInstance, source).] in RequestInstantiate should bypass `optionalInstance.[[Module]]` instead of just `optinoalIstance`.

Closed this issue · 2 comments

loader.js implementation feedback

resolution: ExtractDependencies should work with a factory and module record.

fix: Instantiate() can do the dirty job to check if optionalInstnace is a NS, and extract the [[Module]] internal slot.

solved as part of refactor #122