summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webxr/ar-module/idlharness.https.window.js
blob: 51cc3c42808a66ddde083b8982317e8cdd961c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

'use strict';

// https://immersive-web.github.io/webxr-ar-module/

idl_test(
  ['webxr-ar-module'],
  ['webxr', 'dom'],
  async idl_array => {
    idl_array.add_objects({
      XRSession: ['xrSession'],
    });
    self.xrSession = await navigator.xr.requestSession('inline');
  }
);