Module script_module

Module script_module 

Source
Expand description

The script module mod contains common traits and structs related to type=module for script thread or worker threads.

Structsยง

ImportMap ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#import-map-processing-model
ModuleContext ๐Ÿ”’
The context required for asynchronously loading an external module script source.
ModuleFetchClient ๐Ÿ”’
ModuleHandler ๐Ÿ”’
ModuleObject ๐Ÿ”’
ModuleScript ๐Ÿ”’
ModuleSource ๐Ÿ”’
ModuleTree ๐Ÿ”’
QueueTaskHandler ๐Ÿ”’
ResolvedModule ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#specifier-resolution-record
RethrowError ๐Ÿ”’
ScriptFetchOptions ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#script-fetch-options

Enumsยง

ModuleStatus ๐Ÿ”’

Constantsยง

SLOT_MODULEPRIVATE ๐Ÿ”’

Functionsยง

EnsureModuleHooksInitialized ๐Ÿ”’ โš 
A function to register module hooks (e.g. listening on resolving modules, getting module metadata, getting script private reference and resolving dynamic import)
HostPopulateImportMeta ๐Ÿ”’ โš 
https://tc39.es/ecma262/#sec-hostgetimportmetaproperties https://html.spec.whatwg.org/multipage/#hostgetimportmetaproperties
HostResolveImportedModule ๐Ÿ”’ โš 
https://tc39.es/ecma262/#sec-HostLoadImportedModule https://html.spec.whatwg.org/multipage/#hostloadimportedmodule
fetch_a_module_worker_script_graph ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#fetch-a-module-worker-script-tree https://html.spec.whatwg.org/multipage/#fetch-a-worklet/module-worker-script-graph
fetch_a_modulepreload_module ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#fetch-a-modulepreload-module-script-graph
fetch_a_single_module_script ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#fetch-a-single-module-script
fetch_an_external_module_script ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#fetch-a-module-script-tree
fetch_inline_module_script ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#fetch-an-inline-module-script-graph
fetch_the_descendants_and_link_module_script ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#fetch-the-descendants-of-and-link-a-module-script
fill_module_compile_options ๐Ÿ”’
gen_type_error ๐Ÿ”’
host_add_ref_top_level_script ๐Ÿ”’ โš 
host_import_module_dynamically ๐Ÿ”’ โš 
https://tc39.es/ecma262/#sec-hostimportmoduledynamically https://html.spec.whatwg.org/multipage/#hostimportmoduledynamically(referencingscriptormodule,-specifier,-promisecapability)
host_release_top_level_script ๐Ÿ”’ โš 
import_meta_resolve ๐Ÿ”’ โš 
merge_existing_and_new_import_maps ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#merge-existing-and-new-import-maps
merge_module_specifier_maps ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#merge-module-specifier-maps
module_script_from_reference_private ๐Ÿ”’ โš 
normalize_module_integrity_map ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#normalizing-a-module-integrity-map
normalize_specifier_key ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#normalizing-a-specifier-key
parse_an_import_map_string ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#parse-an-import-map-string
register_import_map ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#register-an-import-map
resolve_imports_match ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#resolving-an-imports-match
sort_and_normalize_module_specifier_map ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#sorting-and-normalizing-a-module-specifier-map
sort_and_normalize_scopes ๐Ÿ”’
https://html.spec.whatwg.org/multipage/#sorting-and-normalizing-scopes

Type Aliasesยง

ModuleIntegrityMap ๐Ÿ”’
ModuleRequest ๐Ÿ”’
ModuleSpecifierMap ๐Ÿ”’