commit 98fc5a345a711fa1da70d9eded77d2fc8ba68e84
parent 5ecc774611a591eec4b7f67df32c4de2cd583d41
Author: Alexander Cooper <alcooper@chromium.org>
Date: Fri, 31 Oct 2025 08:55:54 +0000
Bug 1995720 [wpt PR 55583] - Implement XRVisibilityMaskChange event, a=testonly
Automatic update from web-platform-tests
Implement XRVisibilityMaskChange event
Implements the XRVisibilityMaskChange event in blink, including all
infrastructure needed to send the real data for the event as well as
adding a minor test case for the scenario. Note that because it is
related to the VisibilityMaskChange event, the index of the XRView is
also now exposed per the spec.
Bug: 450538226
Change-Id: I0e63805bc2f64695e5feeb75e2418de4c204a8a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7038648
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1533799}
--
wpt-commits: 69b8cca928515b3adfca7897ac9af8ad6dac4e80
wpt-pr: 55583
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testing/web-platform/tests/resources/chromium/webxr-test.js b/testing/web-platform/tests/resources/chromium/webxr-test.js
@@ -902,8 +902,10 @@ class MockRuntime {
height: fakeXRViewInit.resolution.height
},
isFirstPersonObserver: fakeXRViewInit.isFirstPersonObserver ? true : false,
- viewOffset: composeGFXTransform(fakeXRViewInit.viewOffset)
+ viewOffset: composeGFXTransform(fakeXRViewInit.viewOffset),
+ visibilityMaskId: { idValue : 0 }
};
+
}
_setFeatures(supportedFeatures) {