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

Unified Diff: third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamConstructor-expected.txt

Issue 2365883002: Expose the MediaStream interface (Closed)
Patch Set: drop TODO Created 4 years, 3 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: third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamConstructor-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamConstructor-expected.txt b/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamConstructor-expected.txt
index 2a56ded9de962093f7a37e0861eab8055b48b28c..ee3f5df03f16247fbae2cc60d04394ff472d900c 100644
--- a/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamConstructor-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/MediaStreamConstructor-expected.txt
@@ -1,21 +1,26 @@
-Tests webkitMediaStream.
+Tests MediaStream constructor.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS Got local stream.
+Interface tests.
+PASS typeof MediaStream is 'function'
+PASS MediaStream.length is 0
+PASS MediaStream.name is 'MediaStream'
+PASS Object.getPrototypeOf(MediaStream.prototype) is EventTarget.prototype
+PASS window.MediaStream is window.webkitMediaStream
+Got local stream.
PASS localStream.getAudioTracks().length is 1
PASS localStream.getVideoTracks().length is 1
-PASS typeof webkitMediaStream === 'function' is true
PASS checkIdAttribute(localStream.id) is true
-PASS new webkitMediaStream(document) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature..
-PASS new webkitMediaStream([document]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
-PASS new webkitMediaStream([stream.getAudioTracks()[0], document]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
-PASS new webkitMediaStream([null]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
-PASS new webkitMediaStream([undefined]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
-PASS new webkitMediaStream(null) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature..
-PASS new webkitMediaStream(undefined) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature..
-PASS Stream constructed
+PASS new MediaStream(document) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature..
+PASS new MediaStream([document]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
+PASS new MediaStream([stream.getAudioTracks()[0], document]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
+PASS new MediaStream([null]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
+PASS new MediaStream([undefined]) threw exception TypeError: Failed to construct 'MediaStream': Invalid Array element type.
+PASS new MediaStream(null) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature..
+PASS new MediaStream(undefined) threw exception TypeError: Failed to construct 'MediaStream': No matching constructor signature..
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'
@@ -23,7 +28,7 @@ PASS newStream.getAudioTracks().length is nAudio
PASS newStream.getVideoTracks().length is nVideo
PASS newStream.active is false
PASS checkIdAttribute(newStream.id) is true
-PASS Stream constructed
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'
@@ -31,7 +36,7 @@ PASS newStream.getAudioTracks().length is nAudio
PASS newStream.getVideoTracks().length is nVideo
PASS newStream.active is false
PASS checkIdAttribute(newStream.id) is true
-PASS Stream constructed
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'
@@ -39,7 +44,7 @@ PASS newStream.getAudioTracks().length is nAudio
PASS newStream.getVideoTracks().length is nVideo
PASS newStream.active is true
PASS checkIdAttribute(newStream.id) is true
-PASS Stream constructed
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'
@@ -47,7 +52,7 @@ PASS newStream.getAudioTracks().length is nAudio
PASS newStream.getVideoTracks().length is nVideo
PASS newStream.active is true
PASS checkIdAttribute(newStream.id) is true
-PASS Stream constructed
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'
@@ -55,7 +60,7 @@ PASS newStream.getAudioTracks().length is nAudio
PASS newStream.getVideoTracks().length is nVideo
PASS newStream.active is true
PASS checkIdAttribute(newStream.id) is true
-PASS Stream constructed
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'
@@ -63,7 +68,7 @@ PASS newStream.getAudioTracks().length is nAudio
PASS newStream.getVideoTracks().length is nVideo
PASS newStream.active is true
PASS checkIdAttribute(newStream.id) is true
-PASS Stream constructed
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'
@@ -71,7 +76,7 @@ PASS newStream.getAudioTracks().length is nAudio
PASS newStream.getVideoTracks().length is nVideo
PASS newStream.active is true
PASS checkIdAttribute(newStream.id) is true
-PASS Stream constructed
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'
@@ -79,7 +84,7 @@ PASS newStream.getAudioTracks().length is nAudio
PASS newStream.getVideoTracks().length is nVideo
PASS newStream.active is false
PASS checkIdAttribute(newStream.id) is true
-PASS Stream constructed
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'
@@ -87,7 +92,7 @@ PASS newStream.getAudioTracks().length is nAudio
PASS newStream.getVideoTracks().length is nVideo
PASS newStream.active is false
PASS checkIdAttribute(newStream.id) is true
-PASS Stream constructed
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'
@@ -95,7 +100,7 @@ PASS newStream.getAudioTracks().length is nAudio
PASS newStream.getVideoTracks().length is nVideo
PASS newStream.active is false
PASS checkIdAttribute(newStream.id) is true
-PASS Stream constructed
+Stream constructed
PASS [object MediaStream] is non-null.
PASS [object MediaStream] is defined.
PASS newStream.constructor.name is 'MediaStream'

Powered by Google App Engine
This is Rietveld 408576698