Bug 1771867 - Early Hints Phase 2 - Part 5: Pass early hint preload to script preloader r=necko-reviewers,valentin
Note that modules can't be specified in Link preloads with `rel=preload`, only in `rel=modulepreload`. We currently only support `rel=preload` in early hints. See Bug 1798319 for updates on module preloads. Differential Revision: https://phabricator.services.mozilla.com/D161175
This commit is contained in:
@@ -107,7 +107,8 @@ nsresult ModuleLoader::StartFetch(ModuleLoadRequest* aRequest) {
|
||||
securityFlags |= nsILoadInfo::SEC_ALLOW_CHROME;
|
||||
|
||||
// Delegate Shared Behavior to base ScriptLoader
|
||||
nsresult rv = GetScriptLoader()->StartLoadInternal(aRequest, securityFlags);
|
||||
nsresult rv =
|
||||
GetScriptLoader()->StartLoadInternal(aRequest, securityFlags, 0);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/webappapis.html#fetch-an-import()-module-script-graph
|
||||
|
||||
Reference in New Issue
Block a user