Closed
Bug 1856289
Opened 2 years ago
Closed 2 years ago
dom/events/test/test_mouse_enterleave_iframe.html should not request reflow to a child document multiple times
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P2)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
FIXED
120 Branch
| Tracking | Status | |
|---|---|---|
| firefox120 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
Details |
It seems that requesting reflow multiple times to an <iframe> causes odd race condition.
| Assignee | ||
Comment 1•2 years ago
|
||
The test requests reflow to a child document which the listener listens to
when expected event gets received as a message. However, the message listener
is set twice for listening same events on <html> and <div>. Therefore,
the request occurs twice, and that assumes that the reflow happens before
the next task of a setTimeout call.
This patch makes the order stabler.
- Request reflow only when the the last expected event is received
- Remove the message listeners when the reflow request is performed in the child
Updated•2 years ago
|
Severity: N/A → S3
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/0d3b6ffb57f5
Make the test request a reflow of a child document when it received the last expected event message r=edgar
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox120:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•