We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f84db44 commit b4f30d7Copy full SHA for b4f30d7
src/Document.js
@@ -209,6 +209,11 @@ function initDocument (document, window) {
209
210
document.dispatchEvent(new Event('load', {target: document}));
211
window.dispatchEvent(new Event('load', {target: window}));
212
+
213
+ parentPort.postMessage({
214
+ method: 'xrMode',
215
+ xr: GlobalContext.requestedXr,
216
+ });
217
});
218
219
return document;
0 commit comments