New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move movementX/Y calculation for aura pointer-locked state to Blink. #17295
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already reviewed downstream.
ce943b1
to
9cfca30
Compare
1dd98fe
to
b9bba2b
Compare
b9bba2b
to
ef1c152
Compare
This change moves movementX/Y calculation for aura pointer-locked state to Blink. On aura, pointer lock use "move to center" to make cursor stays in the window. With the calculation done in blink side, the move to center event is marked as synthesize move, so that we can update the blink side states and do not dispatch the event. The change is under content feature flag kConsolidatedMovementXY Bug: 802067 Change-Id: I05360dadd18a2f41481a0de9ef78a05199493857 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618306 Commit-Queue: Ella Ge <eirage@chromium.org> Reviewed-by: Ken Buchanan <kenrb@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org> Reviewed-by: Mustaq Ahmed <mustaq@chromium.org> Cr-Commit-Position: refs/heads/master@{#674237}
ef1c152
to
e83be16
Compare
Chrome instability:
|
FF instability: Unstable results
|
I wonder how would my patch cause 3 unrelated test failing on FF? Can we re-run this? |
Sure, closed and reopened to trigger a re-run. |
There's a bunch of unrelated tests here because of the change to a commonly used support file. The only relevant flakiness seems to be: |
I think I figure out the reason why the added test failing on FF. How should I make the change? Can I do the change with a chromium CL? |
@EiraGe if it's a substantial change, you can send a follow-up Chromium CL and I'll force-merge this one; if it's just a simple fix, you can propose the change directly in this PR on GitHub. |
pointerevents/pointerlock/pointerevent_movementxy_with_pointerlock.html
Outdated
Show resolved
Hide resolved
pointerevents/pointerlock/pointerevent_movementxy_with_pointerlock.html
Outdated
Show resolved
Hide resolved
pointerevents/pointerlock/pointerevent_movementxy_with_pointerlock.html
Outdated
Show resolved
Hide resolved
pointerevents/pointerlock/pointerevent_movementxy_with_pointerlock.html
Outdated
Show resolved
Hide resolved
pointerevents/pointerlock/pointerevent_movementxy_with_pointerlock.html
Outdated
Show resolved
Hide resolved
pointerevents/pointerlock/pointerevent_movementxy_with_pointerlock.html
Outdated
Show resolved
Hide resolved
pointerevents/pointerlock/pointerevent_movementxy_with_pointerlock.html
Outdated
Show resolved
Hide resolved
pointerevents/pointerlock/pointerevent_movementxy_with_pointerlock.html
Outdated
Show resolved
Hide resolved
Co-Authored-By: Ella Ge <eirage@chromium.org>
ChromeDriver is now complaining about "invalid input state": https://tools.taskcluster.net/groups/bnj45Fo0RC6rrcMtRGHPWQ/tasks/UcyccTzdRImzE09Lx3nVDQ/runs/0/logs/public%2Flogs%2Flive.log#L7428 |
Yes, that's the same result as Luck pointed out before the change. It's not the test changed in this CL (sorry for the similar name) |
Ahh sorry I didn't look at it closely enough. But it seems we haven't fixed the Firefox issue :( https://tools.taskcluster.net/groups/bnj45Fo0RC6rrcMtRGHPWQ/tasks/TTP8iKO1QPOhd2V25njlrA/runs/0/logs/public%2Flogs%2Flive.log#L46674 |
…lock.html Co-Authored-By: Ella Ge <eirage@chromium.org>
I spent some time trying to reproduce the flaky results of |
Thanks Robert for looking into this |
…eb-platform-tests#17295) This change moves movementX/Y calculation for aura pointer-locked state to Blink. On aura, pointer lock use "move to center" to make cursor stays in the window. With the calculation done in blink side, the move to center event is marked as synthesize move, so that we can update the blink side states and do not dispatch the event. The change is under content feature flag kConsolidatedMovementXY Bug: 802067 Change-Id: I05360dadd18a2f41481a0de9ef78a05199493857 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618306 Commit-Queue: Ella Ge <eirage@chromium.org> Reviewed-by: Ken Buchanan <kenrb@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org> Reviewed-by: Mustaq Ahmed <mustaq@chromium.org> Cr-Commit-Position: refs/heads/master@{#674237}
This change moves movementX/Y calculation for aura pointer-locked
state to Blink.
On aura, pointer lock use "move to center" to make cursor stays in
the window. With the calculation done in blink side, the move to
center event is marked as synthesize move, so that we can update
the blink side states and do not dispatch the event.
The change is under content feature flag kConsolidatedMovementXY
Bug: 802067
Change-Id: I05360dadd18a2f41481a0de9ef78a05199493857
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618306
Commit-Queue: Ella Ge <eirage@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#674237}