RTCTrackEvent.track should be found in RTCTrackEvent.streams[0]
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Jun 2017 03:12:47 +0000 (03:12 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Jun 2017 03:12:47 +0000 (03:12 +0000)
commit46dfde6f16d8b59845e91603139356a0b7a6a3c7
tree952530d58f22112d4c754b4166e7f563a06f3cda
parenta0ed2f77dd3101c1c644afa0c26da7315b31680f
RTCTrackEvent.track should be found in RTCTrackEvent.streams[0]
https://bugs.webkit.org/show_bug.cgi?id=173074

Patch by Youenn Fablet <youenn@apple.com> on 2017-06-07
Reviewed by Eric Carlson.

Source/WebCore:

Covered by updated test.

* Modules/mediastream/MediaStream.cpp:
(WebCore::MediaStream::addTrackFromPlatform):

LayoutTests:

* webrtc/video.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webrtc/video.html
Source/WebCore/ChangeLog
Source/WebCore/Modules/mediastream/MediaStream.cpp