Skip to content

Commit

Permalink
Bug 1838316 [wpt PR 40530] - Remove XRSessionDeviceConfig.uses_input_…
Browse files Browse the repository at this point in the history
…eventing and related code, a=testonly

Automatic update from web-platform-tests
Remove XRSessionDeviceConfig.uses_input_eventing and related code (#40530)

This commit removes the uses_input_eventing_ variable from the
XRSessionDeviceConfig interface and all the code that relied on it.
The XRSessionDeviceConfig.uses_input_eventing feature was originally
added to support WMR but is no longer needed since no runtimes support
it now.

Bug: 1429644
Change-Id: I6d691f67e20d5f430169556b215e038c6b1c3173
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4604546
Quick-Run: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1157619}

Co-authored-by: Mahmoud Ahmed <mahmoudaahmedd@gmail.com>
--

wpt-commits: 866ccc0efe52a1614e020ce45975b7d1e77df282
wpt-pr: 40530
  • Loading branch information
chromium-wpt-export-bot authored and moz-wptsync-bot committed Jun 21, 2023
1 parent f7f4291 commit fddc664
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions testing/web-platform/tests/resources/chromium/webxr-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -985,8 +985,6 @@ class MockRuntime {
environmentProviderRequest.handle);
}

setInputSourceButtonListener(listener) { listener.$.close(); }

// XREnvironmentIntegrationProvider implementation:
subscribeToHitTest(nativeOriginInformation, entityTypes, ray) {
if (!this.supportedModes_.includes(xrSessionMojom.XRSessionMode.kImmersiveAr)) {
Expand Down Expand Up @@ -1212,7 +1210,6 @@ class MockRuntime {
clientReceiver: clientReceiver,
enabledFeatures: enabled_features,
deviceConfig: {
usesInputEventing: false,
defaultFramebufferScale: this.defaultFramebufferScale_,
supportsViewportScaling: true,
depthConfiguration:
Expand Down

0 comments on commit fddc664

Please sign in to comment.