Closed Bug 1708143 Opened 3 years ago Closed 3 years ago

Intermittent gfx/layers/apz/test/mochitest/test_group_zoomToFocusedInput.html | helper_zoomToFocusedInput_iframe.html | scroll position is different from first line of textarea

Categories

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

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox88 --- unaffected
firefox89 --- unaffected
firefox90 --- fixed

People

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

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered][stockwell disable-recommended])

Attachments

(1 file)

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


[task 2021-04-28T10:04:26.587Z] 10:04:26     INFO - TEST-PASS | gfx/layers/apz/test/mochitest/test_group_zoomToFocusedInput.html | helper_zoomToFocusedInput_iframe.html | scroll position into iframe isn't top 
[task 2021-04-28T10:04:26.587Z] 10:04:26     INFO - Buffered messages finished
[task 2021-04-28T10:04:26.588Z] 10:04:26     INFO - TEST-UNEXPECTED-FAIL | gfx/layers/apz/test/mochitest/test_group_zoomToFocusedInput.html | helper_zoomToFocusedInput_iframe.html | scroll position is different from first line of textarea 
[task 2021-04-28T10:04:26.588Z] 10:04:26     INFO -     SimpleTest.ok@SimpleTest/SimpleTest.js:417:16
[task 2021-04-28T10:04:26.588Z] 10:04:26     INFO -     spawnTest/w.ok@gfx/layers/apz/test/mochitest/apz_test_utils.js:447:32
[task 2021-04-28T10:04:26.588Z] 10:04:26     INFO -     test@gfx/layers/apz/test/mochitest/helper_zoomToFocusedInput_iframe.html:48:5
[task 2021-04-28T10:04:26.589Z] 10:04:26     INFO - GECKO(3632) | MEMORY STAT | vsize 2614MB | residentFast 195MB | heapAllocated 24MB
[task 2021-04-28T10:04:26.589Z] 10:04:26     INFO - GECKO(3632) | helper_zoomToFocusedInput_iframe.html | got MozAfterPaint: 0,0,0,0
[task 2021-04-28T10:04:26.590Z] 10:04:26     INFO - GECKO(3632) | helper_zoomToFocusedInput_iframe.html | Dispatching 0 onpaint listeners
[task 2021-04-28T10:04:26.591Z] 10:04:26     INFO - GECKO(3632) | [Child 3702, Main Thread] WARNING: NS_ENSURE_TRUE(mDocShell) failed: file /builds/worker/checkouts/gecko/toolkit/components/browser/nsWebBrowser.cpp:545
[task 2021-04-28T10:04:26.591Z] 10:04:26     INFO - GECKO(3632) | [Child 3702, Main Thread] WARNING: NS_ENSURE_TRUE(mDocShell) failed: file /builds/worker/checkouts/gecko/toolkit/components/browser/nsWebBrowser.cpp:545
[task 2021-04-28T10:04:26.594Z] 10:04:26     INFO - TEST-OK | gfx/layers/apz/test/mochitest/test_group_zoomToFocusedInput.html | took 5689ms```

Possible. I'll investigate.

There are two kinds of fixes here.

The first is calling waitToClearOutAnyPotentialScrolls after anything that might cause scrolls to make sure all scrolls are done before we move on in the test (so they don't mess us up later). Calling focus on an element is one thing that causes scrolling that may not be obvious.

The second is using promiseTransformEnd to be sure the zoom to focused input animation is done.

Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Flags: needinfo?(tnikkel)
Whiteboard: [retriggered][stockwell needswork:owner]
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0a5a70f8ca6e
Fix intermittents in test_group_zoomToFocusedInput.html. r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: