Set Ready For Review
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM thanks
graphics binding is registered. On every frame, Blink automatically
populates the camera_sync_tokens list. If the camera is not accessed,Mingjing ZhangCan we not instead prevent this?
Alexander CooperI think the alternative is to validate the camera SyncTokens [on the Blink side](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/xr/xr_session.cc;l=2334;drc=fcc8e2e643f4beab78d87a7a8566f0ed50332666;bpv=1;bpt=1), and not to push any empty SyncTokens into the `camera_sync_tokens` vector in the first place.
Alex, do you prefer this Blink-side solution?
Mingjing ZhangYeah, I think it's better to have a well behaved blink send only the tokens we expect
Alexander CooperYeah I agree.
yyonglii@ Thank you for working on this fix. Could you instead move the SyncToken validation to the Blink side? Thanks.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[webxr] Filter out empty camera sync tokens in Blink
A non-empty camera sync tokens array fails validation checks on browser
side. Now only send a non-empty array when there are valid tokens.
This CL also re-enables the `WebXrVrOpenXrBrowserTest.TestLayers` test
which was previously disabled due to this crash.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |