Skip to content

[CSS Modules] Support JSON and CSS in link type=modulepreload#57436

Merged
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-7216960
Jan 30, 2026
Merged

[CSS Modules] Support JSON and CSS in link type=modulepreload#57436
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-7216960

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jan 30, 2026

Adds support for preloading JSON and CSS modules via the "as" parameter
using the same fetching mechanism that script module preloads use.

Basic tests are added in this CL, and more detailed tests are coming
straight to WPT via
#56617.

Bug: 466888680
Change-Id: I3f08d7a1c48d4e46e500538b5fab32f2b4f41b02
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7216960
Reviewed-by: Dan Clark <daniec@microsoft.com>
Commit-Queue: Kurt Catti-Schmidt <kschmi@microsoft.com>
Reviewed-by: Yoav Weiss (@Shopify) <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1577402}

Adds support for preloading JSON and CSS modules via the "as" parameter
using the same fetching mechanism that script module preloads use.

Basic tests are added in this CL, and more detailed tests are coming
straight to WPT via
#56617.

Bug: 466888680
Change-Id: I3f08d7a1c48d4e46e500538b5fab32f2b4f41b02
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7216960
Reviewed-by: Dan Clark <daniec@microsoft.com>
Commit-Queue: Kurt Catti-Schmidt <kschmi@microsoft.com>
Reviewed-by: Yoav Weiss (@Shopify) <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1577402}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@jonathan-j-lee jonathan-j-lee changed the title [CSS Modules] Support JSON and CSS in <link type=modulepreload> [CSS Modules] Support JSON and CSS in link type=modulepreload Jan 30, 2026
@chromium-wpt-export-bot chromium-wpt-export-bot merged commit f0705a4 into master Jan 30, 2026
37 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-7216960 branch January 30, 2026 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Comments