Closed Bug 1776065 Opened 2 years ago Closed 2 years ago

Intermittent dom/events/test/browser_navigator_clipboard_readText.js | single tracking bug

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect, P3)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jmaher, Unassigned)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

No description provided.

Additional information about this bug failures and frequency patterns can be found by running: ./mach test-info failure-report --bug 1776065

Component: DOM: UI Events & Focus Handling → DOM: Copy & Paste and Drag & Drop

I spent some time debugging this, the test got timeout because it doesn't receive "click" event, which is due to the mousedown event is dropped in gtk widget. It seems the widget window is somehow not ready at the moment (?), I am not sure if there is a good way to ensure widget window is ready on test level.

One possible solution is to add some delay before generate mouse event, but I would like to avoid that unless we don't have other solution. Another possible solution is that we don't use the native mouse event, so that we could avoid widget code do some unexpected things. Let me try to latter one first: https://treeherder.mozilla.org/jobs?repo=try&revision=2cdac1b2f31af3cd51cd1d6f283e1d466c2bd9c7

Severity: -- → S3

(In reply to Edgar Chen [:edgar] from comment #8)

One possible solution is to add some delay before generate mouse event, but I would like to avoid that unless we don't have other solution. Another possible solution is that we don't use the native mouse event, so that we could avoid widget code do some unexpected things. Let me try to latter one first: https://treeherder.mozilla.org/jobs?repo=try&revision=2cdac1b2f31af3cd51cd1d6f283e1d466c2bd9c7

Try result looks promising, filed bug 1785325.

Depends on: 1785325
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.