Closed Bug 1543185 Opened 6 years ago Closed 5 years ago

Implement Input.dispatchMouseEvent

Categories

(Remote Protocol :: CDP, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file, 1 obsolete file)

In order to support puppeteer's page.click, we have to implement CDP's DOM.getContentQuads (bug 1543151), but also Input.dispatchMouseEvent.

https://chromedevtools.github.io/devtools-protocol/tot/Input#method-dispatchMouseEvent
Input.dispatchMouseEvent:
Dispatches a mouse event to the page.

Type: defect → enhancement
Component: Agent → Input
Priority: -- → P3
Blocks: 1543142
Priority: P3 → P2
Depends on: 1548102

I removed the mouse event wait code. Afterall it looks like it isn't mandatory, while it fails on some mousedown events (the event doesn't fire or there is an issue with the addEventListener code).

Attached file Bug 1543185 - Use EventUtils to fix list.test.js. (obsolete) (deleted) —

I'll try to get this landed with a minimal test.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Priority: P2 → P1
Attachment #9058243 - Attachment description: Bug 1543185 - Implement Input.dispatchMouseEvent → Bug 1543185 - Implement Input.dispatchMouseEvent.
Blocks: 1562151
Attachment #9066351 - Attachment is obsolete: true
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f9109d328c08 Implement Input.dispatchMouseEvent. r=remote-protocol-reviewers,ato
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Component: CDP: Input → CDP
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: