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.
The canvas whose context is being watched.