Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit d2ce9c3

Browse files
Merge pull request #540 from dstorey/webXR
Add Web XR
2 parents d03248e + 3b80f3a commit d2ce9c3

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

scripts/9/data.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1787,7 +1787,7 @@ var tests = [
17871787

17881788
},
17891789

1790-
'<strong>VR Headset</strong>',
1790+
'<strong>VR and AR Headsets</strong>',
17911791

17921792
{
17931793
id: 'webvr',
@@ -1796,6 +1796,13 @@ var tests = [
17961796
value: 3,
17971797
url: 'https://w3c.github.io/webvr/'
17981798

1799+
}, {
1800+
id: 'webxr',
1801+
name: 'WebXR',
1802+
status: 'experimental',
1803+
value: 5,
1804+
url: 'https://immersive-web.github.io/webxr/'
1805+
17991806
}
18001807
]
18011808
}, {

scripts/9/engine.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3339,6 +3339,15 @@ Test9 = (function () {
33393339
});
33403340
},
33413341

3342+
/* webxr */
3343+
3344+
function (results) {
3345+
results.addItem({
3346+
key: '3d.webxr',
3347+
passed: 'xr' in navigator
3348+
});
3349+
},
3350+
33423351

33433352
/* animation api */
33443353

0 commit comments

Comments
 (0)