idlharness.https.window.js (370B)
1 // META: script=/resources/WebIDLParser.js 2 // META: script=/resources/idlharness.js 3 4 'use strict'; 5 6 // https://immersive-web.github.io/webxr-ar-module/ 7 8 idl_test( 9 ['webxr-ar-module'], 10 ['webxr', 'dom'], 11 async idl_array => { 12 idl_array.add_objects({ 13 XRSession: ['xrSession'], 14 }); 15 self.xrSession = await navigator.xr.requestSession('inline'); 16 } 17 );