Skip to content

Commit ced9b08

Browse files
committed
Rename module script to JavaScript module script
This patch creates a common concept of a "module script", unifying JavaScript module scripts with JSON module scripts (and future concepts like style sheet module scripts, WebAssembly module scripts, etc.) The name change includes the following fixes: - Clarify that <link rel=modulepreload> works for JSON module scripts. - Check for Cyclic Module Records in fetching module descendants and finding the first parse error. - Initialize the settings object and error to rethrow in JSON module scripts, both of which are used by algorithms in HTML. - Add various asserts to make it clear why we can use things when we do. Module scripts may be renamed to simply "modules" in a future patch.
1 parent bd2a5ae commit ced9b08

File tree

1 file changed

+171
-103
lines changed

1 file changed

+171
-103
lines changed

0 commit comments

Comments
 (0)