DescriptionFix a crash caused by track insertion after load().
This patch fixes a crash caused by stale LoadMediaResource flag in
m_pendingActionFlags when load() is explicitly called on a media
element. The insertion of a <track> element triggers the crash by
triggering the scheduling of the m_loadTimer, which ends up using the
stale flag data when the timer fires. The fix is to clear the
LoadMediaResource flag from m_pendingActionFlags when a new load is
initiated.
BUG=356352
TEST=LayoutTests/media/track/track-insert-after-load-crash.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170003
Patch Set 1 #
Total comments: 1
Messages
Total messages: 6 (0 generated)
|