-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Propagate the fetch settings object when loading module graphs #9520
Conversation
After this PR I will open one to replace all the "settings object" parameters of the various loading-related algorithms with "settingsObject", because the casing inconsistency with the other parameters of these algorithms is annoying me a lot. |
So I have one question about this PR. And in LoadRequestedModules, the argument HostLoadImportedModule, So the original But in HostLoadImportedModule,
So to fetch the descendants of a module script graph, it will use the settings object from the top-level script, instead of the original Also see my previous comment in #9499 (comment) |
With this PR, step 11.2 of |
Oh, thanks for pointing that out, I didn't notice step 11. |
Thanks so much! In case you're curious about the force-push I added "fixes #9513" to the commit message of the last commit so we have that in history.
Yes please! (Feel free to camel-case any other parameters and variable names in these algorithms while you're there.) |
Fixes #9513 by passing the fetch client settings object through the ECMA-262 traversal algorithm, so that it is available when loading the individual modules.
The first two commits revert #9508 and #9510, while the third one is the actual fix.
cc @domenic @domfarolino @allstarschh
/webappapis.html ( diff )