Closed Bug 1683656 Opened 4 years ago Closed 4 years ago

Intermittent dom/events/test/test_mouse_capture_iframe.html | receive unexpected mousedown event

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P5)

defect

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox86 --- fixed
firefox87 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

Attachments

(1 file)

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


[task 2020-12-21T11:51:58.419Z] 11:51:58     INFO - TEST-START | dom/events/test/test_mouse_capture_iframe.html
[task 2020-12-21T11:51:58.638Z] 11:51:58     INFO - TEST-INFO | started process screentopng
[task 2020-12-21T11:51:59.026Z] 11:51:59     INFO - TEST-INFO | screentopng: exit 0
[task 2020-12-21T11:51:59.027Z] 11:51:59     INFO - Buffered messages logged at 11:51:58
[task 2020-12-21T11:51:59.027Z] 11:51:59     INFO - add_task | Entering test init
[task 2020-12-21T11:51:59.027Z] 11:51:59     INFO - add_task | Leaving test init
[task 2020-12-21T11:51:59.028Z] 11:51:59     INFO - add_task | Entering test testMouseCaptureOnXoriginIframe
[task 2020-12-21T11:51:59.028Z] 11:51:59     INFO - Buffered messages finished
[task 2020-12-21T11:51:59.028Z] 11:51:59     INFO - TEST-UNEXPECTED-FAIL | dom/events/test/test_mouse_capture_iframe.html | receive unexpected mousedown event 
[task 2020-12-21T11:51:59.028Z] 11:51:59     INFO -     SimpleTest.ok@SimpleTest/SimpleTest.js:417:16
[task 2020-12-21T11:51:59.028Z] 11:51:59     INFO -     unexpectedHandler@dom/events/test/test_mouse_capture_iframe.html:48:7
[task 2020-12-21T11:57:13.062Z] 11:57:13     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-21T11:57:13.062Z] 11:57:13     INFO - TEST-UNEXPECTED-FAIL | dom/events/test/test_mouse_capture_iframe.html | Test timed out. 
[task 2020-12-21T11:57:13.062Z] 11:57:13     INFO -     SimpleTest.ok@SimpleTest/SimpleTest.js:417:16
[task 2020-12-21T11:57:13.062Z] 11:57:13     INFO -     reportError@SimpleTest/TestRunner.js:143:22
[task 2020-12-21T11:57:13.062Z] 11:57:13     INFO -     TestRunner._checkForHangs@SimpleTest/TestRunner.js:165:18
[task 2020-12-21T11:57:14.062Z] 11:57:14     INFO - GECKO(2257) | MEMORY STAT | vsize 2619MB | residentFast 144MB | heapAllocated 13MB
[task 2020-12-21T11:57:14.064Z] 11:57:14     INFO - TEST-OK | dom/events/test/test_mouse_capture_iframe.html | took 315654ms
[task 2020-12-21T11:57:14.126Z] 11:57:14     INFO - TEST-START | dom/events/test/test_mouse_enterleave_iframe.html
[task 2020-12-21T11:58:37.249Z] 11:58:37     INFO - GECKO(2257) | 1608551917239	addons.xpi	ERROR	System addon update list error Error: got node name: html, expected: updates
[task 2020-12-21T12:02:43.066Z] 12:02:43     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-21T12:02:43.067Z] 12:02:43     INFO - Buffered messages logged at 11:57:14
[task 2020-12-21T12:02:43.067Z] 12:02:43     INFO - add_task | Entering test init
[task 2020-12-21T12:02:43.068Z] 12:02:43     INFO - Mouse moves to initial position
[task 2020-12-21T12:02:43.068Z] 12:02:43     INFO - add_task | Leaving test init
[task 2020-12-21T12:02:43.069Z] 12:02:43     INFO - add_task | Entering test testMouseEnterLeave
[task 2020-12-21T12:02:43.069Z] 12:02:43     INFO - Mouse moves to the div above iframe
[task 2020-12-21T12:02:43.070Z] 12:02:43     INFO - TEST-PASS | dom/events/test/test_mouse_enterleave_iframe.html | receive mouseenter 
[task 2020-12-21T12:02:43.070Z] 12:02:43     INFO - Mouse moves into iframe
[task 2020-12-21T12:02:43.071Z] 12:02:43     INFO - TEST-PASS | dom/events/test/test_mouse_enterleave_iframe.html | receive mouseleave 
[task 2020-12-21T12:02:43.071Z] 12:02:43     INFO - TEST-PASS | dom/events/test/test_mouse_enterleave_iframe.html | receive mouseenter 
[task 2020-12-21T12:02:43.072Z] 12:02:43     INFO - TEST-PASS | dom/events/test/test_mouse_enterleave_iframe.html | receive message {"eventType":"mouseenter","targetName":"html"} 
[task 2020-12-21T12:02:43.072Z] 12:02:43     INFO - TEST-PASS | dom/events/test/test_mouse_enterleave_iframe.html | receive message {"eventType":"mouseenter","targetName":"div"} 
[task 2020-12-21T12:02:43.073Z] 12:02:43     INFO - Mouse moves out from iframe to the div above iframe
[task 2020-12-21T12:02:43.073Z] 12:02:43     INFO - TEST-PASS | dom/events/test/test_mouse_enterleave_iframe.html | receive mouseleave 
[task 2020-12-21T12:02:43.074Z] 12:02:43     INFO - TEST-PASS | dom/events/test/test_mouse_enterleave_iframe.html | receive mouseenter 
[task 2020-12-21T12:02:43.075Z] 12:02:43     INFO - Buffered messages finished
[task 2020-12-21T12:02:43.075Z] 12:02:43     INFO - TEST-UNEXPECTED-FAIL | dom/events/test/test_mouse_enterleave_iframe.html | Test timed out. 
[task 2020-12-21T12:02:43.075Z] 12:02:43     INFO -     SimpleTest.ok@SimpleTest/SimpleTest.js:417:16
[task 2020-12-21T12:02:43.076Z] 12:02:43     INFO -     reportError@SimpleTest/TestRunner.js:143:22
[task 2020-12-21T12:02:43.076Z] 12:02:43     INFO -     TestRunner._checkForHangs@SimpleTest/TestRunner.js:165:18
[task 2020-12-21T12:02:44.064Z] 12:02:44     INFO - GECKO(2257) | MEMORY STAT | vsize 2619MB | residentFast 144MB | heapAllocated 12MB
[task 2020-12-21T12:02:44.073Z] 12:02:44     INFO - TEST-OK | dom/events/test/test_mouse_enterleave_iframe.html | took 329946ms```

Frequent failures, at least with Fission enabled. Could this be from bug 1680405?

Flags: needinfo?(echen)
Flags: needinfo?(jstutte)
Whiteboard: [stockwell needswork:owner]

I will take a look. Maybe some timing issue between pointer capture IPC and synthesized mouse event.

Assignee: nobody → echen
Flags: needinfo?(jstutte)
Flags: needinfo?(echen)

I could not reproduce this locally, so I trigger try run with adding some log.
The async synthesizing event dispatches the event to parent process and relays on APZ to assign the layer id to route to desired content process.
But APZ doesn't assign the layer id we expect, wait for apz stable before starting the test might help, I will try to verify it on try push.

test.events.async.enabled is set to ture in this test, the synthesized event
would be routed to apz, so wait apz getting stable before starting test to avoid
possible timing problem that causes intermittent failure.

Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac3a43e5b435 Make dom/events/test/test_mouse_capture_iframe.html waiting for apz stable before starting tests; r=smaug
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Whiteboard: [stockwell needswork:owner] → [stockwell needswork:owner][checkin-needed-beta]
Whiteboard: [stockwell needswork:owner][checkin-needed-beta] → [stockwell needswork:owner]
See Also: → 1690455
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: