Primary eng (and PM) emails
Summary
navigator.xr.supportsSession was replaced in the WebXR spec by the navigator.xr.isSessionSupported method in September of 2019 after receiving feedback on the API shape from the TAG. It has been marked as deprecated in Chromium since then, producing a console warning redirecting developers to the updated API.
Motivation
The API has been marked as deprecated for over 5 years. The function that replaced it provides identical functionality with better ergonomics. There is no need to retain the deprecated method.Interoperability and Compatibility Risk
Extremely low. WebXR usage is low overall, and usage of this specific call is lower still, as shown here. Additionally, all major frameworks that are used to build WebXR content have been confirmed to have been updated to use the newer call, and all pages with WebXR content that were checked are using the newer method.
Edge: Supported the API change when originally made
Firefox: Never implemented
Safari: Never implemented
Alternative implementation suggestion for web developers
navigator.xr.isSessionSupported is a full replacement for this method.
Usage information from UseCounter
https://chromestatus.com/metrics/feature/timeline/popularity/2416
Entry on the feature dashboard
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAEGwwi2A6D5qauaU4nQHBB6%3D6H6eo6WMEv9tFS8%3DKk4hYu%3D9rg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/b39bd741-be84-4730-9293-f45e4def4631n%40chromium.org.
LGTM3
/Daniel