Currently, to be able to chain promises, the previous then/whenSettled handler must return another NativePromise. We could make it so that if it returns void, it behaves like a revolved GenericPromise was returned.
<rdar://problem/118770512>
Pull request: https://github.com/WebKit/WebKit/pull/20867
Committed 271267@main (ab34eaa17f5d): <https://commits.webkit.org/271267@main> Reviewed commits have been landed. Closing PR #20867 and removing active labels.