Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upExiting immersive mode programmatically can lock up the browser #27270
Comments
|
Calling I uncommented this to test: https://github.com/servo/servo.org/blob/6c70d85ef880c7b25bbae406ee31d0d334bbe2f4/hl-home/webxr-ar.js#L112
|
|
@jdm can you reproduce with the device? |
|
A crash doesn't lock up the browser, just restart it. So it looks like another type of issue. |
|
I see exceptions on the device and then the script thread panics when trying to communicate with the webgl thread. |
|
I do end up with a browser instance that is locked up, however. |
|
We get a panic in the surfman Surface destructor:
|
|
I submitted servo/webxr#186 which allows me to use the browser as expected after calling |
We had a report from a user that calling XrSession.end puts the browser into an unusable state after leaving immersive mode. We should try this out.