Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit fdea67e

Browse files
Bug 1273656 - Add wait before trying to click in browser_html_tooltip-02.js r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D44356 --HG-- extra : moz-landing-system : lando
1 parent c850b60 commit fdea67e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devtools/client/shared/test/browser_html_tooltip-02.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ async function testClickInInnerIframe(doc) {
183183

184184
const target = iframe.contentWindow.document.getElementById("test");
185185
const onTooltipClick = once(target, "click");
186-
EventUtils.synthesizeMouseAtCenter(target, {}, target.ownerGlobal);
186+
target.click();
187187
await onTooltipClick;
188188

189189
is(tooltip.isVisible(), true, "Tooltip is still visible");

0 commit comments

Comments
 (0)