Revision d273149ec04b974e357473b2849ce6d916b2866c authored by Ms2ger on 21 September 2018, 14:10:07 UTC, committed by Ms2ger on 21 September 2018, 14:21:29 UTC
This ensures they don't show up as [object Object].
1 parent 74377ff
navigator_xr_requestDevice.https.html
<!DOCTYPE html>
<body>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src="resources/webxr_util.js"></script>
<script>
xr_promise_test("navigator.xr.requestDevice returns a device", (t) => {
return XRTest.simulateDeviceConnection({ supportsImmersive: true })
.then( (controller) => { return navigator.xr.requestDevice() })
.then( (device) => {
t.step(() => {
assert_true(device != null);
assert_true(device instanceof XRDevice);
});
});
});
</script>
</body>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...