Skip to content

Commit 88056ee

Browse files
authored
Merge pull request #17815 from yhuangbrowser/disable_polyfill
Disable polyfill for Helio.
2 parents ba76923 + 6f91e54 commit 88056ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/js/vr/HelioWebXRPolyfill.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
if ( /(Helio)/g.test( navigator.userAgent ) && "xr" in navigator ) {
66

7+
if ('isSessionSupported' in navigator.xr) {
8+
return;
9+
}
10+
711
console.log( "Helio WebXR Polyfill (Lumin 0.97.0)" );
812

913
const isHelio96 = navigator.userAgent.includes( "Chrome/73" );

0 commit comments

Comments
 (0)