Allow serialization of WebGL context attributes via `serde`. …
This will allow us to perform the multiprocess split.