WICG / shared-storage

Explainer for proposed web platform Shared Storage API
Other
85 stars 18 forks source link

Spec: throw error when run() or selectURL() is called during initial module script execution #90

Closed alexmturner closed 11 months ago

alexmturner commented 1 year ago

In the definitions of run() and selectURL(), it says "If addModule() has not yet been called, [error]". To align with the implementation, this should probably be modified to something like "If addModule()'s returned promise has not yet resolved"? (i.e. we need to wait for the module script execution to complete first)