chinedufn / percy

Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
https://chinedufn.github.io/percy/
Apache License 2.0
2.27k stars 84 forks source link

Fix panic in Firefox #193

Closed chinedufn closed 1 year ago

chinedufn commented 1 year ago

This commit changes a dyn_into() into a .unchecked_into() since, for currently, unknown reasons .dyn_into().unwrap() was panicking in a real application Firefox (but not in our headless Firefox tests).

The web-sys version was "0.3.61"