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. |