v8/test/mjsunit/async-hooks
Maya Lekova 1de7e24902 [d8] Handle exceptions on async_hooks.createHook
Before we assumed that no exception can be thrown when specifying a
function to be used as an async hook, but that's not the case when e.g.
the object passed to createHook is a proxy trapping on property access
and the trap throws an exception.

Bug: chromium:1337629
Change-Id: I7bd7893cd274afb6e642ed18aacb9e203f7fdd96
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3714233
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81258}
2022-06-21 08:54:53 +00:00
..
api-methods.js [async] Improve error handling for async hooks 2018-07-05 14:49:03 +00:00
async-await-tree.js [async-await] Fix INIT hook with --harmony-await-optimization 2018-10-15 14:36:56 +00:00
chained-promises.js [test] Fix async hooks test which was swallowing a promise rejection 2018-10-12 13:14:15 +00:00
execution-order.js [test] Fix async hooks test which was swallowing a promise rejection 2018-10-12 13:14:15 +00:00
promises-async-await.js [test] Fix async hooks test which was swallowing a promise rejection 2018-10-12 13:14:15 +00:00
regress-crbug-1337629.js [d8] Handle exceptions on async_hooks.createHook 2022-06-21 08:54:53 +00:00