Convert some async_test(async ...) cases to promise_tests
Passing an async function to async_test will soon be disallowed in WPT, as any asserts thrown will be turned into unhandled promise rejections and the test will timeout. If a test needs async functions it should use promise_test instead. (The naming conflict is a sad historical legacy; WPT had async_test long before EcmaScript spec'd promises!) Bug: https://github.com/web-platform-tests/wpt/issues/21435 Change-Id: I0a31872525844a1540aea548e329929e8097663e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414923Reviewed-by:John Rummell <jrummell@chromium.org> Reviewed-by:
Philip Jägenstedt <foolip@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#809464}
Showing
Please register or sign in to comment