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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/simplecall.html

Issue 2468053002: Import wpt@9fcccf38b6be00f71ffa6bd6e29c5aa1ef25ee8c (Closed)
Patch Set: Skip cssom and svg/shapes, remove unwanted baseline Created 4 years, 1 month 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/imported/wpt/webrtc/simplecall.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/webrtc/simplecall.html b/third_party/WebKit/LayoutTests/imported/wpt/webrtc/simplecall.html
index 69858689409141ca7668cc8c32707f5b50527de9..94d5ea6f761e596c8e543159758f26f462722508 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/webrtc/simplecall.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/webrtc/simplecall.html
@@ -1,9 +1,11 @@
<!doctype html>
<!--
-To quickly iterate when developing this test, use --use-fake-ui-for-media-stream
-for Chrome and set the media.navigator.permission.disabled property to true in
-Firefox. You must either have a webcam/mic available on the system or use for
-instance --use-fake-device-for-media-stream for Chrome.
+To run this test, you must have a webcam and a microphone or use
+fake devices by specifying
+ --use-fake-device-for-media-stream --use-fake-ui-for-media-stream
+for Chrome or by setting the
+ media.navigator.streams.fake
+property to true in Firefox.
-->
<html>
@@ -108,9 +110,8 @@ instance --use-fake-device-for-media-stream for Chrome.
// This function starts the test.
test.step(function() {
- navigator.getUserMedia({ video: true, audio: true },
- getUserMediaOkCallback,
- failed('getUserMedia'));
+ navigator.mediaDevices.getUserMedia({ video: true, audio: true })
+ .then(getUserMediaOkCallback, failed('getUserMedia'));
});
</script>

Powered by Google App Engine
This is Rietveld 408576698