const xrOutput = document.getElementById("xr-output");
if (navigator.xr) {
navigator.xr.isSessionSupported("immersive-ar").then((supported) => {
xrOutput.textContent = supported
? "✅ Este navegador soporta WebXR con AR."
: "❌ Este navegador NO soporta WebXR con AR.";
}).catch((err) => {
xrOutput.textContent = "⚠️ Error al comprobar soporte: " + err;
});
} else {
xrOutput.textContent = "❌ WebXR API no está disponible en este navegador.";
}