Closed Bug 1879620 Opened 4 months ago Closed 4 months ago

Intermittent /inert/inert-iframe-hittest.html | single tracking bug

Categories

(Testing :: web-platform-tests, defect, P5)

defect

Tracking

(firefox124 fixed)

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: masayuki)

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [retriggered], [wptsync upstream])

Attachments

(1 file)

Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=446717016&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EoVGqyS3QN6gurpVoLSQrg/runs/0/artifacts/public/logs/live_backing.log


[task 2024-02-09T18:07:52.172Z] 18:07:52     INFO - TEST-START | /inert/inert-iframe-hittest.html
[task 2024-02-09T18:07:52.208Z] 18:07:52     INFO - Closing window 58454bb9-61d2-4c10-97a7-2c7549b04cc8
[task 2024-02-09T18:07:53.060Z] 18:07:53     INFO - PID 32681 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpxvv3nrss/runtests_leaks_1025_tab_pid3355.log
[task 2024-02-09T18:07:53.102Z] 18:07:53     INFO - PID 32681 | [Child 3355, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:682
[task 2024-02-09T18:07:53.277Z] 18:07:53     INFO - {'actions': [{'type': 'none', 'actions': [{'type': 'pause', 'duration': 16}, {'type': 'pause', 'duration': 16}], 'id': '0'}, {'type': 'pointer', 'actions': [{'type': 'pointerMove', 'x': 0, 'y': 0, 'origin': {'element-6066-11e4-a52e-4f735466cecf': '8405cfaa-69ae-4ba7-a327-7ccade41caff'}}, {'type': 'pointerDown', 'button': 0}], 'parameters': {'pointerType': 'mouse'}, 'id': '1'}]}
[task 2024-02-09T18:07:53.979Z] 18:07:53     INFO - {'actions': [{'type': 'none', 'actions': [{'type': 'pause', 'duration': 16}, {'type': 'pause', 'duration': 16}], 'id': '2'}, {'type': 'pointer', 'actions': [{'type': 'pointerMove', 'x': 0, 'y': 0, 'origin': {'element-6066-11e4-a52e-4f735466cecf': '8405cfaa-69ae-4ba7-a327-7ccade41caff'}}, {'type': 'pointerDown', 'button': 0}], 'parameters': {'pointerType': 'mouse'}, 'id': '3'}]}
[task 2024-02-09T18:07:54.289Z] 18:07:54     INFO - 
[task 2024-02-09T18:07:54.289Z] 18:07:54     INFO - TEST-UNEXPECTED-FAIL | /inert/inert-iframe-hittest.html | Hit-testing doesn't reach contents of an inert iframe - assert_array_equals: wrapper got all events lengths differ, expected array ["mousedown", "mouseenter", "mousemove", "mouseover", "pointerdown", "pointerenter", "pointermove", "pointerover"] length 8, got ["mousedown", "mousemove", "pointerdown", "pointerenter", "pointermove", "pointerover"] length 6
[task 2024-02-09T18:07:54.289Z] 18:07:54     INFO - @http://web-platform.test:8000/inert/inert-iframe-hittest.html:70:22
[task 2024-02-09T18:07:54.290Z] 18:07:54     INFO - .
[task 2024-02-09T18:07:54.290Z] 18:07:54     INFO - TEST-OK | /inert/inert-iframe-hittest.html | took 2120ms
[task 2024-02-09T18:07:54.292Z] 18:07:54     INFO - PID 3069 | 1707502074291	Marionette	INFO	Stopped listening on port 47709
[task 2024-02-09T18:07:54.658Z] 18:07:54     INFO - .
[task 2024-02-09T18:07:54.658Z] 18:07:54     INFO - TEST-OK | /focus/iframe-focuses-parent-different-site.html | took 2924ms
[task 2024-02-09T18:07:54.658Z] 18:07:54     INFO - TEST-START | /focus/iframe-focuses-parent-same-site.html

First occurrence in this range of retriggers and backfills: range

The failure might have actually started earlier than that, once Bug 1864654 landed.
Masayuki, any chance you could take a look at this?
Thank you.

Flags: needinfo?(masayuki)
Whiteboard: [retriggered]

Hit-testing doesn't reach contents of an inert iframe - assert_array_equals: wrapper got all events lengths differ, expected array ["mousedown", "mouseenter", "mousemove", "mouseover", "pointerdown", "pointerenter", "pointermove", "pointerover"] length 8, got ["mousedown", "mousemove", "pointerdown", "pointerenter", "pointermove", "pointerover"] length 6
[task 2024-02-09T18:07:54.289Z] 18:07:54 INFO - @http://web-platform.test:8000/inert/inert-iframe-hittest.html:7

Expected Result
"mousedown" "mousedown"
"mouseenter"
"mousemove" "mousemove"
"mouseover"
"pointerdown" "pointerdown"
"pointerenter" "pointerenter"
"pointermove" "pointermove"
"pointerover" "pointerover"

So, mouse boundary events are not fired but pointer boundary events are fired. This means that the pointer has been moved there before the DOM mutation because it flushes only pending mouse boundary events. Therefore, I guess that the test does not initialize pointer position correctly.

The test does not initialize the pointer event. Therefore, if the last test
which moved pointer over the <iframe>, only the mouse boundary events may
be flushed and the first pointer move causes only the pointer boundary events
like the intermittent failures.

Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Flags: needinfo?(masayuki)
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/23d3f829ae2a
Make `inert-iframe-hittest.html` initialize pointer position before adding event listeners r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44620 for changes under testing/web-platform/tests
Whiteboard: [retriggered] → [retriggered], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Upstream PR merged by moz-wptsync-bot
See Also: → 1885272
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: