Convert async_test(async ...) to promise_tests in subresource_filter/
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: I6082d03b6821781ed62d274dc0ca0b2741d2d285 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414675Reviewed-by:Alex Turner <alexmt@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#807908}
Showing
Please register or sign in to comment