Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 26caa22a57171f79550c037a499c18d78df1d6af
      
https://github.com/WebKit/WebKit/commit/26caa22a57171f79550c037a499c18d78df1d6af
  Author: Sosuke Suzuki <[email protected]>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M Source/JavaScriptCore/runtime/CyclicModuleRecord.cpp
    M Source/JavaScriptCore/runtime/JSMicrotask.cpp

  Log Message:
  -----------
  [JSC] Rewriting module loader follow-ups
https://bugs.webkit.org/show_bug.cgi?id=312349

Reviewed by Yusuke Suzuki.

Three small follow-ups to 311236@main:

- asyncExecutionFulfilled step 12.b.i: recover from a synchronous exception
  out of ExecuteAsyncModule via AsyncModuleExecutionRejected, mirroring 12.c.
- executeAsync: use promiseStructure() for the capability promise, matching
  the spec and the rest of the rewritten loader.
- moduleRegistryModuleSettled: use jsDynamicCast and forward the raw value
  on mismatch, mirroring moduleLoadStep's tampered-then handling.

* Source/JavaScriptCore/runtime/CyclicModuleRecord.cpp:
(JSC::CyclicModuleRecord::executeAsync):
(JSC::CyclicModuleRecord::asyncExecutionFulfilled):
* Source/JavaScriptCore/runtime/JSMicrotask.cpp:
(JSC::moduleRegistryModuleSettled):

Canonical link: https://commits.webkit.org/311271@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to