Repository navigation
Don't cache HTTP/network errors in the module map - #69559
Merged
Merged
Conversation
Collaborator
|
EWS run on current version of this PR (hash db1b857) Details |
Contributor
|
This patch looks good to me, but I don't have reviewer status yet so I can't approve it myself. @kmiller68 could you check over this PR and give approval please? |
kmiller68
approved these changes
Aug 19, 2026
Comment on lines
+1002
to
+1003
| Locker locker { cellLock() }; | ||
| m_moduleMap.remove(iter); |
Contributor
There was a problem hiding this comment.
Unrelated but I wish we had a "Single-Owner Mutable" Clang lock analysis Mixin.
https://bugs.webkit.org/show_bug.cgi?id=319492 Reviewed by Keith Miller. This implements the spec changes from whatwg/html#10327 to avoid caching HTTP or network module import failures. No new tests, but lots of progressions. * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/repeated-imports.any-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/repeated-imports.any.sharedworker-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/json-module/repeated-imports.any.worker-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/concurrent-failed-imports-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/concurrent-failed-imports.any-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/concurrent-failed-imports.any.sharedworker-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/concurrent-failed-imports.any.worker-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/repeated-imports.any-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/repeated-imports.any.sharedworker-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/repeated-imports.any.worker-expected.txt: * Source/JavaScriptCore/runtime/JSMicrotask.cpp: (JSC::moduleLoadTopRejected): Avoid registering failed module loads. (JSC::moduleLoadStoreError): Avoid registering failed module loads. (JSC::runInternalMicrotask): Avoid registering failed module loads. (JSC::moduleLoadTopSettled): Avoid registering failed module loads. * Source/JavaScriptCore/runtime/JSModuleLoader.cpp: (JSC::JSModuleLoader::loadModule): Remove failed modules. (JSC::JSModuleLoader::removeFailedFetchEntry): * Source/JavaScriptCore/runtime/JSModuleLoader.h: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/module/instantiation-error-8-expected.txt: Added. Canonical link: https://commits.webkit.org/319474@main
webkit-commit-queue
force-pushed
the
module_import_retry
branch
from
August 19, 2026 20:23
db1b857 to
f324cca
Compare
Collaborator
|
Committed 319474@main (f324cca): https://commits.webkit.org/319474@main Reviewed commits have been landed. Closing PR #69559 and removing active labels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛠 watch-sim
f324cca
db1b857