Closed Bug 1685293 Opened 4 years ago Closed 4 years ago

Intermittent gfx/layers/apz/test/mochitest/browser_test_scrolling_in_extension_popup_window.js | Mouse wheel scrolling works in the popup window -

Categories

(Core :: Panning and Zooming, defect, P5)

defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox84 --- unaffected
firefox85 --- unaffected
firefox86 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


TEST-START | gfx/layers/apz/test/mochitest/browser_test_scrolling_in_extension_popup_window.js
[task 2021-01-06T11:39:59.501Z] 11:39:59     INFO - GECKO(24818) | Flushed APZ repaints, waiting for callback...
[task 2021-01-06T11:39:59.501Z] 11:39:59     INFO - GECKO(24818) | APZ flush done
[task 2021-01-06T11:39:59.501Z] 11:39:59     INFO - GECKO(24818) | Waits for a MozAfterPaint event
[task 2021-01-06T11:39:59.502Z] 11:39:59     INFO - GECKO(24818) | Got a MozAfterPaint event
[task 2021-01-06T11:39:59.518Z] 11:39:59     INFO - GECKO(24818) | Got a wheel event in the popup content document
[task 2021-01-06T11:39:59.519Z] 11:39:59     INFO - GECKO(24818) | Flushed APZ repaints, waiting for callback...
[task 2021-01-06T11:39:59.522Z] 11:39:59     INFO - GECKO(24818) | APZ flush done
[task 2021-01-06T11:39:59.523Z] 11:39:59     INFO - GECKO(24818) | Waits for a MozAfterPaint event
[task 2021-01-06T11:39:59.524Z] 11:39:59     INFO - GECKO(24818) | Got a MozAfterPaint event
[task 2021-01-06T11:39:59.525Z] 11:39:59     INFO - TEST-INFO | started process screentopng
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - TEST-INFO | screentopng: exit 0
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - Buffered messages logged at 11:39:59
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - Entering test bound 
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - Extension loaded
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - TEST-PASS | gfx/layers/apz/test/mochitest/browser_test_scrolling_in_extension_popup_window.js | Expect widget not to be overflowed - 
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - Buffered messages finished
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - TEST-UNEXPECTED-FAIL | gfx/layers/apz/test/mochitest/browser_test_scrolling_in_extension_popup_window.js | Mouse wheel scrolling works in the popup window - 
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - Stack trace:
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - chrome://mochikit/content/browser-test.js:test_ok:1304
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - chrome://mochitests/content/browser/gfx/layers/apz/test/mochitest/browser_test_scrolling_in_extension_popup_window.js:null:177
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - Leaving test bound 
[task 2021-01-06T11:39:59.989Z] 11:39:59     INFO - GECKO(24818) | MEMORY STAT | vsize 2988MB | residentFast 314MB | heapAllocated 114MB
[task 2021-01-06T11:39:59.990Z] 11:39:59     INFO - TEST-OK | gfx/layers/apz/test/mochitest/browser_test_scrolling_in_extension_popup_window.js | took 232ms
[task 2021-01-06T11:39:59.990Z] 11:39:59     INFO - checking window state
[task 2021-01-06T11:39:59.990Z] 11:39:59     INFO - TEST-START | gfx/layers/apz/test/mochitest/browser_test_select_zoom.js```
Has Regression Range: --- → yes

I could reproduce the failure locally.

"Waiting for a wheel event and a pair of flushing APZ repaints and waiting for MozAfterPaint" is not sufficient for some reasons to reflect the scroll position on the main-thread caused by wheel scrolling on APZ side. I've confirmed waiting for a scroll event fixed the failure locally.

Flags: needinfo?(hikezoe.birchill)
Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Pushed by hikezoe.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/77ab09ad126e Wait for a scroll event instead of a wheel event to make sure the wheel scroll position has been reflected on the main-thread. r=botond
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: