In mediaControlsBase.js, when media controls are removed, calling controlsAreHidden() can cause an exception because the panel has no parentElement.
Created attachment 451577 [details] Patch
Comment on attachment 451577 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=451577&action=review > Source/WebCore/ChangeLog:1 > +2022-02-10 Eugene Mutavchi <Ievgen_Mutavchi@comcast.com> You're responsible for this patch, your name should be here. Eugene's one is already in below. > Source/WebCore/ChangeLog:3 > + Don't throw exception when controls are hidden If the crash happens because controls are removed, then this title is misleading.
Created attachment 451666 [details] Patch
Committed r289730 (247215@main): <https://commits.webkit.org/247215@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 451666 [details].
<rdar://problem/88898131>