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 upMake it so that a webxr panic can be caught by the Servo/UWP panic handler #27344
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The panic described here #27270 is not caught by our panic handler (at least in simpleservo).
Before #186, when
devicewas dropped here https://github.com/servo/webxr/blob/b170a86c081f762d201d3e870febc6e900ad365b/webxr-api/session.rs#L519 a panic would happen, but ourcatch_any_panicfunction would not catch it.We want to catch such panics because we want eventually to be able to inform the user (see #27167).