Skip to content

Resolution context of module blocks #57

Open
@guybedford

Description

@guybedford

Module blocks define resolution to be relative to the definition module. But beyond that there is also the question of which context that resolution is happening in. The URL is only one resolution parameter of the parent - which also has other associations such as realm and loading context which determine the exact resolver implementation in play.

This is important to define as it affects performance and workflow questions like whether engines be able to eagerly / speculatively fetch and parse (not execute) module block definitions even before they have been imported, as well as eg whether they would share the parent import map or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions