Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 302921fc7b25988de65fe73fc00a6a8d94313e75
      
https://github.com/WebKit/WebKit/commit/302921fc7b25988de65fe73fc00a6a8d94313e75
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-01-07 (Wed, 07 Jan 2026)

  Changed paths:
    M Source/JavaScriptCore/CMakeLists.txt
    M Source/JavaScriptCore/DerivedSources-input.xcfilelist
    M Source/JavaScriptCore/DerivedSources.make
    M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
    R Source/JavaScriptCore/builtins/PromisePrototype.js
    M Source/JavaScriptCore/runtime/JSMicrotask.cpp
    M Source/JavaScriptCore/runtime/JSPromise.cpp
    M Source/JavaScriptCore/runtime/JSPromise.h
    M Source/JavaScriptCore/runtime/JSPromisePrototype.cpp
    M Source/JavaScriptCore/runtime/Microtask.h

  Log Message:
  -----------
  [JSC] Move Promise.prototype.finally to C++
https://bugs.webkit.org/show_bug.cgi?id=305030
rdar://167669457

Reviewed by Keith Miller and Sosuke Suzuki.

This patch moves Promise.prototype.finally implementation from JS to
C++, and we remove PromisePrototype.js.

* Source/JavaScriptCore/CMakeLists.txt:
* Source/JavaScriptCore/DerivedSources-input.xcfilelist:
* Source/JavaScriptCore/DerivedSources.make:
* Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:
* Source/JavaScriptCore/builtins/PromisePrototype.js: Removed.
* Source/JavaScriptCore/runtime/JSMicrotask.cpp:
(JSC::promiseFinallyAwaitJob):
(JSC::promiseFinallyReactionJob):
(JSC::runInternalMicrotask):
* Source/JavaScriptCore/runtime/JSPromise.cpp:
(JSC::isDefinitelyNonThenable):
* Source/JavaScriptCore/runtime/JSPromise.h:
* Source/JavaScriptCore/runtime/JSPromisePrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/Microtask.h:

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



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

Reply via email to