Seconds to wait for recovery before reloading.
Reload the page. Injected so a test never actually navigates.
OptionalsetDefaults to setTimeout.
OptionalclearDefaults to clearTimeout.
OptionalonCalled instead of reloading when the context comes back in time.
OptionalonSubscribe to a loss nothing recovers from (WebGPU device.lost); returns
the unsubscribe. Absent = only the WebGL canvas events are watched.
The canvas whose context is being watched.