Skip to content

Commit 21fe5e3

Browse files
masayuki-nakanomoz-wptsync-bot
authored andcommitted
Add .pause(100) after .pointerUp() to avoid intermittent failure on Firefox
We're still not sure the root cause, but the intermittent failure rate is too high. So, let's add a hack into the test for now. Differential Revision: https://phabricator.services.mozilla.com/D252441 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1965673 gecko-commit: 89e714f75f36ce2d9063cc11d9737d6d125d6805 gecko-reviewers: hiro
1 parent 4f2f80f commit 21fe5e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pointerevents/pointerevent_click_during_parent_capture.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@
240240
.pointerMove(0, 0, { origin: target })
241241
.pointerDown()
242242
.pointerUp()
243+
.pause(100) // XXX Required for preventing intermittent failure of Firefox
243244
.send();
244245

245246
test(() => {

0 commit comments

Comments
 (0)