diff options
Diffstat (limited to 'tests/wpt/tests/html/semantics/popovers/resources/popover-utils.js')
-rw-r--r-- | tests/wpt/tests/html/semantics/popovers/resources/popover-utils.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/wpt/tests/html/semantics/popovers/resources/popover-utils.js b/tests/wpt/tests/html/semantics/popovers/resources/popover-utils.js index 6ab5a08898d..7878b125f2f 100644 --- a/tests/wpt/tests/html/semantics/popovers/resources/popover-utils.js +++ b/tests/wpt/tests/html/semantics/popovers/resources/popover-utils.js @@ -2,10 +2,6 @@ function waitForRender() { return new Promise(resolve => requestAnimationFrame(() => requestAnimationFrame(resolve))); } -function waitForTick() { - return new Promise(resolve => step_timeout(resolve, 0)); -} - async function clickOn(element) { await waitForRender(); let rect = element.getBoundingClientRect(); |