tc39 / proposal-shadowrealm

ECMAScript Proposal, specs, and reference implementation for Realms
https://tc39.es/proposal-shadowrealm/
1.43k stars 67 forks source link

Update ecma262-biblio and pass referrer to HostLoadImportedModule #390

Closed ptomato closed 11 months ago

ptomato commented 11 months ago

HostImportModuleDynamically was replaced by HostLoadImportedModule and no longer allows the referrer to be null. We should use evalContext's Realm to do the import.

Reference: https://github.com/tc39/ecma262/pull/2905/files?diff=split&w=0