script: revamp module script loading to follow current spec (#41779)

Rewrite module script fetching logic to follow current spec.

Testing: Covered by existing wpt tests
Fixes: #31397

---------

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
This commit is contained in:
Gae24
2026-01-22 12:40:53 +01:00
committed by GitHub
parent 52efe439fc
commit a953ba954a
20 changed files with 1058 additions and 892 deletions

File diff suppressed because it is too large Load Diff