whatwg / loader

Loader Standard
https://whatwg.github.io/loader/
Creative Commons Zero v1.0 Universal
609 stars 45 forks source link

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

Closed caridy closed 8 years ago

caridy commented 8 years ago

loader.js implementation feedback

caridy commented 8 years ago

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.

caridy commented 8 years ago

solved as part of refactor https://github.com/whatwg/loader/pull/122