Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: LayoutTests/fast/mediastream/MediaStream-add-remove-tracks-expected.txt

Issue 397903003: Implement sequence<MediaStreamTrack> getTracks () This is to conform to the new spec- http://dev.w3… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/mediastream/MediaStream-add-remove-tracks-expected.txt
diff --git a/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks-expected.txt b/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks-expected.txt
index c9fcb7f7b9469dafbf2a65fac552f85c35607b63..b04a4a32f9b7854e4c871ef3b55f4edcdf6f8c8b 100644
--- a/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks-expected.txt
+++ b/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks-expected.txt
@@ -5,24 +5,31 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS stream1.getAudioTracks().length is 1
PASS stream1.getVideoTracks().length is 1
+PASS stream1.getTracks().length is 2
PASS stream2.getAudioTracks().length is 1
PASS stream2.getVideoTracks().length is 1
+PASS stream2.getTracks().length is 2
PASS stream1.getAudioTracks().length is 0
+PASS stream1.getTracks().length is 1
PASS stream1.getTrackById(audioTrack.id) is null
PASS stream1.getTrackById(audioTrack.id) is non-null.
PASS audioTrack is stream1.getAudioTracks()[0]
PASS stream1.getVideoTracks().length is 0
+PASS stream1.getTracks().length is 1
PASS stream1.getTrackById(videoTrack.id) is null
PASS stream1.getAudioTracks().length is 1
PASS stream1.getVideoTracks().length is 1
+PASS stream1.getTracks().length is 2
PASS stream1.getAudioTracks()[0].kind is audioTrack.kind
PASS stream1.getAudioTracks()[0].label is audioTrack.label
PASS stream1.getVideoTracks()[0].kind is videoTrack.kind
PASS stream1.getVideoTracks()[0].label is videoTrack.label
PASS stream1.getAudioTracks().length is 1
PASS stream1.getVideoTracks().length is 1
+PASS stream1.getTracks().length is 2
PASS stream1.getAudioTracks().length is 2
PASS stream1.getVideoTracks().length is 2
+PASS stream1.getTracks().length is 4
PASS stream2.ended is true
PASS stream1.addTrack(audioTrack) threw exception InvalidStateError: Failed to execute 'addTrack' on 'MediaStream': The MediaStream is finished..
PASS stream1.removeTrack(audioTrack) threw exception InvalidStateError: Failed to execute 'removeTrack' on 'MediaStream': The MediaStream is finished..
« no previous file with comments | « LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html ('k') | Source/modules/mediastream/MediaStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698