Closed Bug 1567436 Opened 5 years ago Closed 5 years ago

Gutenberg tests blocked on dispatchKeyEvent with error "No event promise available for ..."

Categories

(Remote Protocol :: CDP, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(1 file)

In Bug 1562740, we added a check in the content domain Input.jsm to verify that calls to waitForContentEvent could find the proper event to wait for.

However many gutenberg tests seem to crash with No event promise available for .... This might be because we are only storing the events in a Map eventName->event. Maybe several event listeners are concurrently added for the same event name, and the map becomes incorrect.

Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/242befc305f7 Support consecutive dispatchKeyEvents with the same type r=remote-protocol-reviewers,ochameau
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: