Description[promisehook] Pass deferred promise to Before/After callback
Before, in `var p1 = p.then(() => {}) we would trigger the
before/after callbacks with p as the associated promise, but we must
call it with p1.
Also removes promise from PromiseReactionJobInfo.
Review-Url: https://codereview.chromium.org/2633443002
Cr-Commit-Position: refs/heads/master@{#42295}
Committed: https://chromium.googlesource.com/v8/v8/+/687b60c874227906b987758885c2e8d3e6858c52
Patch Set 1 #Patch Set 2 : Remove promise from PromiseReactionJobInfo #Patch Set 3 : update test #
Total comments: 5
Patch Set 4 : Remove adaptor #
Messages
Total messages: 27 (21 generated)
|