[code-style] Fix some comments of promise
When I was looking at the v8 Promise source, I noticed that some of the links that needed to point to ECMA262 were broken, some were deprecated, some were not legitimate, so I tried to fix them. Bug: no Change-Id: I26deeb635d8c293245e7cdb62089f60557547846 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3462029 Reviewed-by: Shu-yu Guo <syg@chromium.org> Commit-Queue: Shu-yu Guo <syg@chromium.org> Cr-Commit-Position: refs/heads/main@{#79411}
This commit is contained in:
parent
e9caa2d034
commit
26ef9a85b8
1
AUTHORS
1
AUTHORS
@ -107,6 +107,7 @@ Fedor Indutny <fedor@indutny.com>
|
||||
Felix Geisendörfer <haimuiba@gmail.com>
|
||||
Filipe David Manana <fdmanana@gmail.com>
|
||||
Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
|
||||
Gao Sheng <gaosheng08@meituan.com>
|
||||
Geoffrey Garside <ggarside@gmail.com>
|
||||
Gergely Nagy <ngg@ngg.hu>
|
||||
Gilang Mentari Hamidy <gilang@hamidy.net>
|
||||
|
@ -69,7 +69,7 @@ macro CreatePromiseAnyRejectElementFunction(implicit context: Context)(
|
||||
return reject;
|
||||
}
|
||||
|
||||
// https://tc39.es/proposal-promise-any/#sec-promise.any-reject-element-functions
|
||||
// https://tc39.es/ecma262/#sec-promise.any-reject-element-functions
|
||||
transitioning javascript builtin
|
||||
PromiseAnyRejectElementClosure(
|
||||
js-implicit context: Context, receiver: JSAny,
|
||||
@ -314,7 +314,7 @@ Reject(JSAny) {
|
||||
return resultCapability.promise;
|
||||
}
|
||||
|
||||
// https://tc39.es/proposal-promise-any/#sec-promise.any
|
||||
// https://tc39.es/ecma262/#sec-promise.any
|
||||
transitioning javascript builtin
|
||||
PromiseAny(
|
||||
js-implicit context: Context, receiver: JSAny)(iterable: JSAny): JSAny {
|
||||
|
@ -160,6 +160,7 @@ macro CreatePromiseFinallyFunctions(implicit context: Context)(
|
||||
};
|
||||
}
|
||||
|
||||
// https://tc39.es/ecma262/#sec-promise.prototype.finally
|
||||
transitioning javascript builtin
|
||||
PromisePrototypeFinally(
|
||||
js-implicit context: Context, receiver: JSAny)(onFinally: JSAny): JSAny {
|
||||
|
Loading…
Reference in New Issue
Block a user