Change information
Commit message:
[M145] Ensure that WebXR world state is updated for input events
Original change's description:
> Ensure that WebXR world state is updated for input events
>
> Ensures that the WebXR frame has finished being processed before calling
> any methods that potentially send out events to the page. This could
> cause pages to operate on an old world state for the click and never get
> the actual state of things. This was particularly true for transient hit
> tests where the actual results are only present for the single frame and
> therefore should be present in the click event that is causing there to
> be a transient hit test result.
>
> Bug: 477639547
> Change-Id: I572f921255b52676e390db95559b6b483ce0836f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7543161
> Commit-Queue: Alexander Cooper <alco...@chromium.org>
> Auto-Submit: Alexander Cooper <alco...@chromium.org>
> Reviewed-by: Brian Sheedy <bsh...@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1579707}
(cherry picked from commit 2c003057151070ba3a9bd1d9803442a90a8c0e6b)
Bug: 482056244,477639547
Change-Id: I572f921255b52676e390db95559b6b483ce0836f
Cr-Commit-Position: refs/branch-heads/7632@{#2554}
Cr-Branched-From: 0bbdf2913883391365383b0a5dfe7bf9fd1a5213-refs/heads/main@{#1568190}
Files:
- M chrome/android/javatests/src/org/chromium/chrome/browser/vr/WebXrArHitTestTest.java
- A chrome/test/data/xr/e2e_test_files/html/test_webxr_transient_hit_test_click.html
- M third_party/blink/renderer/modules/xr/xr_session.cc
Change size: M
Delta: 3 files changed, 151 insertions(+), 4 deletions(-)
Branch: refs/branch-heads/7632
Submit Requirements:
Code-Review: Bot-Commit+1 by Rubber Stamper