Instead, just verify a minimum for each event. Ready states aren't deterministic when following spec anyway.
This test will try to load an invalid src, then in the error handler, set the src to a valid URL. In the process, any events that should have deterministic ordering will be logged to compare to the expectation.