HTMLMediaElement should iterate HTMLTrackElements consistently.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Oct 2017 18:52:47 +0000 (18:52 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Oct 2017 18:52:47 +0000 (18:52 +0000)
commit72c3c28ebce63fa35272bb2b9d397a873c87d91c
tree8a18e5a1e10d1c1f0fa44ea4abd1ce0144fc96bc
parent2f2602976b30cd1d2feceb74bdb9ace2d1c6e253
HTMLMediaElement should iterate HTMLTrackElements consistently.
https://bugs.webkit.org/show_bug.cgi?id=178423
rdar://problem/35044967

Patch by Jeremy Jones <jeremyj@apple.com> on 2017-10-24
Reviewed by Eric Carlson.

No new tests because no expected behavior change.

HTMLMediaElement iterates HTMLTrackElements as children in every place but one, where it iterates them
as descendants. It should always iterate them as children.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::finishParsingChildren):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp