HTMLMediaElement::mediaLoadingFailedFatally() does direct dispatch of events; should schedule
<rdar://75576322>
Created attachment 428376 [details] Patch
Created attachment 428377 [details] Patch
Committed r277379 (237635@main): <https://commits.webkit.org/237635@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428377 [details].
Comment on attachment 428377 [details] Patch Seems like we could make this more foolproof if we set some kind of "event dispatch forbidden" or "JavaScript forbidden" state somewhere so we can spot mistakes like this instantly with test failures without more sophisticated testing.
(In reply to Darin Adler from comment #5) > Comment on attachment 428377 [details] > Patch > > Seems like we could make this more foolproof if we set some kind of "event > dispatch forbidden" or "JavaScript forbidden" state somewhere so we can spot > mistakes like this instantly with test failures without more sophisticated > testing. Yeah, we should probably do that in a separate bug since we want to keep this fix small enough to merge into a branch.
(In reply to Ryosuke Niwa from comment #6) > Yeah, we should probably do that in a separate bug since we want to keep > this fix small enough to merge into a branch. Of course! This bug is already fixed.