Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cc673d7b23bf95edb4b50924009a193ecbe56a05
https://github.com/WebKit/WebKit/commit/cc673d7b23bf95edb4b50924009a193ecbe56a05
Author: Yusuke Suzuki <[email protected]>
Date: 2026-08-09 (Sun, 09 Aug 2026)
Changed paths:
A JSTests/modules/import-defer-async-cycle-sync-access.js
A JSTests/modules/import-defer/async-cycle-deferred.js
A JSTests/modules/import-defer/async-cycle-member.js
A JSTests/modules/import-defer/async-cycle-setup.js
A JSTests/modules/import-defer/async-cycle-tla.js
A JSTests/modules/import-defer/async-cycle-toucher.js
M JSTests/test262/expectations.yaml
M Source/JavaScriptCore/runtime/AbstractModuleRecord.cpp
M Source/JavaScriptCore/runtime/CyclicModuleRecord.h
Log Message:
-----------
[JSC] Update import-defer implementation based on the proposal update
https://bugs.webkit.org/show_bug.cgi?id=321369
rdar://184423667
Reviewed by Sosuke Suzuki.
After 313139@main implemented import-defer, the proposal fixed several
bugs. This patch applies these fixes.
1. https://github.com/tc39/proposal-defer-import-eval/pull/85
Consider SCC status when deciding to short circuit on ReadyForSyncExecution
and GatherAsynchronousTransitiveDependencies
2. https://github.com/tc39/proposal-defer-import-eval/pull/87
(1) introduced an assertion inconsistency, and the PR fixes it.
Tests: JSTests/modules/import-defer-async-cycle-sync-access.js
JSTests/modules/import-defer/async-cycle-deferred.js
JSTests/modules/import-defer/async-cycle-member.js
JSTests/modules/import-defer/async-cycle-setup.js
JSTests/modules/import-defer/async-cycle-tla.js
JSTests/modules/import-defer/async-cycle-toucher.js
* JSTests/modules/import-defer-async-cycle-sync-access.js: Added.
* JSTests/modules/import-defer/async-cycle-deferred.js: Added.
* JSTests/modules/import-defer/async-cycle-member.js: Added.
* JSTests/modules/import-defer/async-cycle-setup.js: Added.
* JSTests/modules/import-defer/async-cycle-tla.js: Added.
* JSTests/modules/import-defer/async-cycle-toucher.js: Added.
* JSTests/test262/expectations.yaml:
* Source/JavaScriptCore/runtime/AbstractModuleRecord.cpp:
(JSC::AbstractModuleRecord::gatherAsynchronousTransitiveDependencies):
(JSC::AbstractModuleRecord::readyForSyncExecution):
* Source/JavaScriptCore/runtime/CyclicModuleRecord.h:
(JSC::CyclicModuleRecord::isSCCEvaluated const):
Canonical link: https://commits.webkit.org/318875@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications