Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 138f982ba57377628c7c0cb28972f1bbfc8013a1
https://github.com/WebKit/WebKit/commit/138f982ba57377628c7c0cb28972f1bbfc8013a1
Author: Eric Carlson <[email protected]>
Date: 2024-07-24 (Wed, 24 Jul 2024)
Changed paths:
A LayoutTests/media/remove-from-document-with-text-track-expected.txt
A LayoutTests/media/remove-from-document-with-text-track.html
M Source/WebCore/html/track/TextTrack.cpp
Log Message:
-----------
Add missing null-check of cues in TextTrack::didMoveToNewDocument
https://bugs.webkit.org/show_bug.cgi?id=277021
rdar://132386816
Reviewed by Wenson Hsieh and Ryosuke Niwa.
Don't call TextTrackCueList::didMoveToNewDocument if there are is no cue list.
* LayoutTests/media/remove-from-document-with-text-track-expected.txt: Added.
* LayoutTests/media/remove-from-document-with-text-track.html: Added.
* Source/WebCore/html/track/TextTrack.cpp:
(WebCore::TextTrack::didMoveToNewDocument):
Canonical link: https://commits.webkit.org/281320@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes