Closed Bug 1773641 Opened 2 years ago Closed 2 years ago

Enable tests disabled for Windows in <dom/events/test/browser_navigator_clipboard_readText.js>

Categories

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

Unspecified
Windows
task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mbrodesser-Igalia, Assigned: edgar)

References

Details

Attachments

(1 file)

No description provided.
Type: defect → task

https://treeherder.mozilla.org/#/jobs?repo=try&revision=a31785f563d423a798f6258cf3889577caa95a3d, let's see if the tests fail. Otherwise one will have to try locally.

Still fails on Windows, the logs don't provide sufficient information, though. Need to try locally.

Flags: needinfo?(echen)

There are two issues that cause the test stucks,

1). The test clicks (0,0) to dismiss paste button, which is also the position of
browser menu, so the dismissing action also opens the browser menu which is overlap
with button in web content, so the subsequent sythesized native mouse action clicks
the menu item, instead of the web content.

2). Somethimes sythesized native mouse event is disptached to menupopup
incorrectly, instead of web content, even if we have received the popuphide event.
It presumably due to the layout isn't updated yet for menupopup, so the result
of hit testing is unexpected.

Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2db4f03d1afe Enable browser_navigator_clipboard_readText.js test on Windows; r=mbrodesser
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: