forked from mirrors/gecko-dev
The aEarlyHintPreloaderId parameter for StartLoad/StartLoadInternal is changed to be a member variable of ScriptLoadRequest instead so that an initiator type of early hints can be set for module requests. Before, ModuleLoader would always pass in a zero value for the id since ModuleLoaderBase has no concept of early hints when it calls StartFetch. As a prerequisite for early hints support, this commit also implements modulepreload in link headers (Bug 1773056). Differential Revision: https://phabricator.services.mozilla.com/D180020 |
||
|---|---|---|
| .. | ||
| ImportMap.cpp | ||
| ImportMap.h | ||
| LoadContextBase.cpp | ||
| LoadContextBase.h | ||
| LoadedScript.cpp | ||
| LoadedScript.h | ||
| ModuleLoaderBase.cpp | ||
| ModuleLoaderBase.h | ||
| ModuleLoadRequest.cpp | ||
| ModuleLoadRequest.h | ||
| moz.build | ||
| ResolveResult.h | ||
| ScriptKind.h | ||
| ScriptLoadRequest.cpp | ||
| ScriptLoadRequest.h | ||