Skip to content

Crash in Chrome 72 Windows 10 on navigator.xr.requestDevice() - Uncaught (in promise) DOMException #4035

@bknill

Description

@bknill

navigator.xr.requestDevice() does not have a catch() for error handling.

 if (navigator.xr) {
          navigator.xr.requestDevice().then(function (device) {
...

Uncaught (in promise) DOMException

  • A-Frame Version: 0.9.0
  • Platform / Device: Windows 10 Chrome 72.0.3626.119
  • Reproducible Code Snippet or URL: import 'aframe'

It's crashing my app in Chrome, regardless of if WebXR/WebVR flags are enabled/disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions