DescriptionUse the instance type to determine if an object is a promise.
We can check if the instance type of an object is JS_PROMISE_TYPE to determine if it is a promise rather than test whether the property promise_state_symbol is present.
BUG=
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
Committed: https://crrev.com/a1debda6c79622d0b6b66437610aa28fb0c7af08
Cr-Commit-Position: refs/heads/master@{#37283}
Patch Set 1 #Patch Set 2 : Use Macros #Patch Set 3 : Rebase #Patch Set 4 : Rebase #
Depends on Patchset: Messages
Total messages: 22 (14 generated)
|