commit | 2d9a95ce7b9521ac5d724950938e21c5730ec343 | [log] [tgz] |
---|---|---|
author | Tim van der Lippe <[email protected]> | Tue Jan 04 15:18:03 2022 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 04 16:08:08 2022 |
tree | a816fdd94a65ef7cfea9de0652a491ecd7909ef6 | |
parent | 5ed11e0536ba0669e0a421402b7e223570aa3aa7 [diff] [blame] |
Suppress all existing promise races To suppress the races, we mark these invocations with `void` per the instructions of `no-floating-promises`. This explicitly marks these statements as side-effect promises. Engineers can later analyze these void statements and determine whether the promise races are intentional or accidental. [email protected] Bug: 1239617 Change-Id: I6b7a24cf21029d6ff73b112b3e8255ebab8c60ec Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3366467 Reviewed-by: Jack Franklin <[email protected]> Commit-Queue: Tim Van der Lippe <[email protected]> Auto-Submit: Tim Van der Lippe <[email protected]>
diff --git a/test/e2e/elements/accessibility-tree_test.ts b/test/e2e/elements/accessibility-tree_test.ts index 173502c..a52f2dc 100644 --- a/test/e2e/elements/accessibility-tree_test.ts +++ b/test/e2e/elements/accessibility-tree_test.ts
@@ -19,7 +19,7 @@ await enableExperiment('fullAccessibilityTree'); await goToResource('elements/accessibility-iframe-page.html'); await toggleAccessibilityTree(); - waitForAria('RootWebArea\xa0"Page with nested iframe" [role="treeitem"]'); + void waitForAria('RootWebArea\xa0"Page with nested iframe" [role="treeitem"]'); const iframeDoc = await waitForAria( 'RootWebArea\xa0"Simple page with aria labeled element"\xa0focusable:\xa0true [role="treeitem"]'); assertNotNullOrUndefined(iframeDoc);