LibWeb: Add WebXR's XRSystem

This commit is contained in:
Psychpsyo
2025-11-13 21:53:47 +01:00
committed by Shannon Booth
parent 04e7830958
commit 52781cc2fd
Notes: github-actions[bot] 2026-01-10 23:02:14 +00:00
13 changed files with 170 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<!DOCTYPE html>
<script src="../include.js"></script>
<script>
asyncTest(async (done) => {
if (await navigator.xr.isSessionSupported('inline')) {
println("PASS: Inline sessions are supported.");
} else {
println("FAIL: Inline sessions are not supported.");
}
done();
});
</script>