Closed Bug 1760986 Opened 3 years ago Closed 3 years ago

when coordinatesRelativeToScreen was made async not everything was made to await properly

Categories

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

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox98 --- wontfix
firefox99 --- wontfix
firefox100 --- wontfix
firefox101 --- wontfix
firefox102 --- fixed

People

(Reporter: tnikkel, Assigned: dlrobertson)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [lang=c++])

Attachments

(1 file)

Botond noticed this.

For example, synthesizeNativeWheel awaits coordinatesRelativeToScreen but promiseNativeWheelAndWaitForObserver calls synthesizeNativeWheel and it does not await synthesizeNativeWheel.

Set release status flags based on info from the regressing bug 1725540

:hiro, since you are the author of the regressor, bug 1725540, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(hikezoe.birchill)

We'll get to this when we get to it. No need to needinfo hiro. This is a test only function, so this is cleanup and/or fixing potential intermittents only.

Flags: needinfo?(hikezoe.birchill)
Severity: -- → S4
Priority: -- → P3
Has Regression Range: --- → yes

We don't need to track this for any releases, it's test related issue that we can't link to any known intermittents yet.

Set release status flags based on info from the regressing bug 1725540

Ugh, I guess the bot won't let me. Restoring the flags to what they were before. Wish we could just get rid of these flags on this bug so we don't waste time, we don't need to track this for a release.

Whiteboard: [lang=c++]
Assignee: nobody → drobertson

Make the APZ mochitests use coor coordinatesRelativeToScreen and its callers
properly. When wwas made async not everything was made to await properly.

Attachment #9273929 - Attachment description: Bug 1760986 - Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel → Bug 1760986 Part 1 - Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel
Blocks: 1766898
Attachment #9273929 - Attachment description: Bug 1760986 Part 1 - Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel → Bug 1760986 - Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel
Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f292dd5b7893 Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel

I was able to reproduce the failure on a local machine. I'm not entirely sure at the moment why the tests fails, but I'll start to do some debugging on the test.

Flags: needinfo?(drobertson)
Attachment #9273929 - Attachment description: Bug 1760986 - Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel → Bug 1760986 Part 1 - Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel
Attachment #9273929 - Attachment description: Bug 1760986 Part 1 - Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel → Bug 1760986 - Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel
Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/adf2b25deb64 Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel

Backed out changeset adf2b25deb64 (Bug 1760986) for causing mochitest fis test failures.
Backout link
Push with failures
Failure Log

Flags: needinfo?(drobertson)

Hmm same test failure, but I'm unable to reproduce this now on my local box now. I think I'll back out the changes to that test for now and create a separate issue to fix the async/await usage in the failing test.

Flags: needinfo?(drobertson)
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/918ef225713f Modify APZ mochitest coordinatesRelativeToScreen callers to use await. r=tnikkel
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch

Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: