Bug
1732029 [wpt PR 30806] - Don't do a fetch for attempts to import CSS module scripts in workers, a=testonly
Automatic update from web-platform-tests
Don't do a fetch for attempts to import CSS module scripts in workers
For attempts to import CSS module scripts in non-Document contexts,
fail when initially validating specifiers and asserted types, rather
than later when we are about to create the module script.
This avoids an extra pointless fetch.
See corresponding spec change
at https://github.com/whatwg/html/pull/7066/
Change-Id: I7fd64ee47d09e3001cc63d9d828ee3ab225e407e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3161478
Commit-Queue: Dan Clark <daniec@microsoft.com>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/main@{#923021}
--
wpt-commits:
1b3385871f3621acc91c76b806758f883a6cb82a
wpt-pr: 30806