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

Unified Diff: content/test/data/media/getusermedia.html

Issue 1617243005: Apply new-style constraints to video_source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 11 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: content/test/data/media/getusermedia.html
diff --git a/content/test/data/media/getusermedia.html b/content/test/data/media/getusermedia.html
index fbc3654e691467d73581c9efa75fcc65f0ef0e58..0e98cc6c110f03b651a4372425d72e3da7ea6a16 100644
--- a/content/test/data/media/getusermedia.html
+++ b/content/test/data/media/getusermedia.html
@@ -334,7 +334,7 @@
}
function failedCallback(error) {
- failTest('GetUserMedia call failed with code ' + error.code);
+ failTest('GetUserMedia call failed with error name ' + error.name);
}
function attachMediaStream(stream, videoElement) {
@@ -502,7 +502,8 @@
if (++attempt > maxAttempts) {
clearInterval(detectorInterval);
failTest("Aspect ratio corrupted. X " + maxLightGreenPixelsX +
- " Y " + maxLightGreenPixelsY);
+ " Y " + maxLightGreenPixelsY + " width " + width +
+ " height " + height);
}
else {
// We have a bad aspect ratio now; give a chance to shape up.

Powered by Google App Engine
This is Rietveld 408576698