diff --git a/ar-barebones.html b/ar-barebones.html index dbccf2f04..23576b309 100644 --- a/ar-barebones.html +++ b/ar-barebones.html @@ -103,7 +103,9 @@ xrButton.innerHTML = 'Exit AR'; // Show which type of DOM Overlay got enabled (if any) - document.getElementById('session-info').innerHTML = 'DOM Overlay type: ' + session.domOverlayState.type; + if (session.domOverlayState) { + document.getElementById('session-info').innerHTML = 'DOM Overlay type: ' + session.domOverlayState.type; + } session.addEventListener('end', onSessionEnded); let canvas = document.createElement('canvas'); diff --git a/tests/index.html b/tests/index.html index 0b393d244..c3f4c256b 100644 --- a/tests/index.html +++ b/tests/index.html @@ -140,6 +140,10 @@
+ This test pages only submits content (a frame filled with a solid
+ color) every N frames so that the effect it produces on various
+ browsers and devices can be observed.
+ Back
+
+