Bug 133641

Summary: [MediaStream] Add getTracks() support to MediaStream.
Product: WebKit Reporter: Kiran <kiran.guduru>
Component: WebKit EFLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, cdumez, commit-queue, eric.carlson, esprehn+autocc, glenn, hta, jer.noble, kondapallykalyan, lucas.de.marchi, philipj, rniwa, sergio, tommyw
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[MediaStream] add getTracks support to MediaStream
eric.carlson: review+
[MediaStream] add getTracks support to MediaStream
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2
none
[MediaStream] add getTracks support to MediaStream none

Description Kiran 2014-06-09 05:04:57 PDT
getTracks() for MediaStream has been proposed and accepted.

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=25860

[2] https://github.com/fluffy/webrtc-w3c/commit/1149581cc2c4dd236470b7a661f1850cf091c7a4

So add getTracks() support to MediaStream.
Comment 1 Kiran 2014-06-09 05:13:06 PDT
Created attachment 232702 [details]
[MediaStream] add getTracks support to MediaStream

Add patch that implements getTracks() in MediaStream.
Comment 2 Eric Carlson 2014-06-09 11:22:31 PDT
Comment on attachment 232702 [details]
[MediaStream] add getTracks support to MediaStream

View in context: https://bugs.webkit.org/attachment.cgi?id=232702&action=review

> LayoutTests/fast/mediastream/MediaStream-getTracks.html:42
> +                tryAddTrack(stream2, audioTrack);

Nit: it would be nice to log streams being added so the test results are self documenting.
Comment 3 Kiran 2014-06-09 21:53:03 PDT
Created attachment 232767 [details]
[MediaStream] add getTracks support to MediaStream

Added extra logging in test file as per the review comments.
Comment 4 Build Bot 2014-06-09 23:59:09 PDT
Comment on attachment 232767 [details]
[MediaStream] add getTracks support to MediaStream

Attachment 232767 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/4514643447906304

New failing tests:
media/W3C/video/networkState/networkState_during_loadstart.html
Comment 5 Build Bot 2014-06-09 23:59:15 PDT
Created attachment 232776 [details]
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-13  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 6 Kiran 2014-06-10 00:35:08 PDT
Created attachment 232778 [details]
[MediaStream] add getTracks support to MediaStream
Comment 7 WebKit Commit Bot 2014-06-10 03:17:47 PDT
Comment on attachment 232778 [details]
[MediaStream] add getTracks support to MediaStream

Clearing flags on attachment: 232778

Committed r169743: <http://trac.webkit.org/changeset/169743>
Comment 8 Kiran 2014-06-11 01:41:33 PDT
Patch got landed, so closing the bug.