[webkit-changes] [WebKit/WebKit] fae332: rename NativePromise resolveOrReject and createAnd...

Jean-Yves Avenard noreply at github.com
Thu Oct 5 00:41:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fae33225167aa4756ae404ca04baa27925fa6110
      https://github.com/WebKit/WebKit/commit/fae33225167aa4756ae404ca04baa27925fa6110
  Author: Jean-Yves Avenard <jya at apple.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M Source/WTF/wtf/NativePromise.h
    M Tools/TestWebKitAPI/Tests/WTF/NativePromise.cpp

  Log Message:
  -----------
  rename NativePromise resolveOrReject and createAndResolveOrReject
https://bugs.webkit.org/show_bug.cgi?id=262677
rdar://116504430

Reviewed by Youenn Fablet.

rename NativePromise::createAndResolveOrReject into createAndSettle()
and resolveOrReject into settle()
No new test, no functional changes

* Source/WTF/wtf/NativePromise.h:
* Tools/TestWebKitAPI/Tests/WTF/NativePromise.cpp:
(TestWebKitAPI::TEST):
(TestWebKitAPI::myMethodReturningThenCommand):
(TestWebKitAPI::myMethodReturningProducer):

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




More information about the webkit-changes mailing list