r105434 introduced a bug which causes a HTMLTrackElement's TextTrack to not be removed from the HTMLMediaElement's tracks collection.
<rdar://problem/11031795>
Created attachment 131408 [details] Proposed patch
I believe I can't review+ it, but nice catch and the patch looks good to me.
Comment on attachment 131408 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=131408&action=review r=me > Source/WebCore/html/HTMLMediaElement.h:208 > virtual void trackWasAdded(HTMLTrackElement*); > - virtual void trackWasRemoved(HTMLTrackElement*); > + virtual void trackWillBeRemoved(HTMLTrackElement*); I think the usual naming pattern is didAddTrack/willRemoveTrack
http://trac.webkit.org/changeset/111581