https://github.com/web-platform-tests/wpt
Raw File
Tip revision: b3ad93c2c75c553be65ccdc3427a6e4c705c8fcf authored by Geoffrey Sneddon on 21 March 2018, 16:21:52 UTC
fixup! Fix #8613: get codecov working again
Tip revision: b3ad93c
webxr_check.html
<script src=webxr_util.js></script>
<script>
'use strict';
let definedObjects = [];
let undefinedObjects = [];

forEachWebxrObject((obj, name) => {
    if(obj == undefined) {
        undefinedObjects.push(name);
    } else {
        definedObjects.push(name);
    }
});

window.parent.postMessage({ undefinedObjects, definedObjects}, '*');

</script>
back to top