tc39 / proposal-compartments

Compartmentalization of host behavior hooks for JS
MIT License
122 stars 10 forks source link

Add non-normative explanation of moduleHandler.referrer #79

Open kriskowal opened 2 years ago

kriskowal commented 2 years ago

With #77, we no longer thread referrer and do not have a need to thread the referrer. However, every practical implementation will need to use a referrer property on module handler objects in order to resolve relative import specifiers. To that end, we’ve agreed at the September 21, 2022 SES call to add a non-normative block explaining how virtual modules can resolve relative import specifiers.