Skip to content

Module worker descendant script fetching regression #9513

Description

@domenic

Discussion continued from #9499.

Apparently in #8253 we stopped using the fetch client settings object (i.e., the "outer" environment settings object) when fetching the descendants of a module worker. This is incorrect.

You can find the old spec in https://html.spec.whatwg.org/commit-snapshots/2edc8089d4aa2db44a324f44b3fe4e4898524217/#fetch-a-worklet/module-worker-script-graph

This impacts, e.g., what CSP or other policies applies to the module fetches. So this is definitely a bug.

@nicolo-ribaudo, can you work on fixing this to the state before your PR?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions