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

Unified Diff: LayoutTests/fast/mediastream/getMediaDevices-expected.txt

Issue 286673003: MediaStream API: Patch #3 of implementing navigator.getMediaDevices (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add WillBeGarbageCollected attribute to MediaDeviceInfo. Created 6 years, 6 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
« no previous file with comments | « LayoutTests/fast/mediastream/getMediaDevices.html ('k') | Source/modules/mediastream/MediaDeviceInfo.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/mediastream/getMediaDevices-expected.txt
diff --git a/LayoutTests/fast/mediastream/getMediaDevices-expected.txt b/LayoutTests/fast/mediastream/getMediaDevices-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a87a0ef04d0c5fbd76c0f6572b788840f881df2e
--- /dev/null
+++ b/LayoutTests/fast/mediastream/getMediaDevices-expected.txt
@@ -0,0 +1,33 @@
+Tests navigator.getMediaDevices
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS navigator.getMediaDevices(devicesCallback); did not throw exception.
+PASS After getMediaDevices
+PASS Devices returned.
+PASS devices.length is 3
+PASS devices[0].deviceId.length is > 0
+PASS devices[1].deviceId.length is > 0
+PASS devices[2].deviceId.length is > 0
+PASS devices[0].deviceId is not devices[1].deviceId
+PASS devices[0].deviceId is not devices[2].deviceId
+PASS devices[1].deviceId is not devices[2].deviceId
+PASS devices[0].kind is "audioinput"
+PASS devices[1].kind is "audiooutput"
+PASS devices[2].kind is "videoinput"
+PASS devices[0].label.length is > 0
+PASS devices[1].label.length is > 0
+PASS devices[2].label.length is > 0
+PASS devices[0].label is not devices[1].label
+PASS devices[0].label is not devices[2].label
+PASS devices[1].label is not devices[2].label
+PASS devices[0].groupId.length is > 0
+PASS devices[1].groupId.length is > 0
+PASS devices[2].groupId.length is > 0
+PASS devices[0].groupId is devices[1].groupId
+PASS devices[0].groupId is not devices[2].groupId
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/mediastream/getMediaDevices.html ('k') | Source/modules/mediastream/MediaDeviceInfo.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698