tc39 / proposal-shadowrealm

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

Update ecma262-biblio and pass referrer to HostLoadImportedModule #390

Closed ptomato closed 1 year ago

ptomato commented 1 year 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