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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/GUM-empty-option-param.https-expected.txt

Issue 2677763002: Unskip mediastream-capture WPT tests (Closed)
Patch Set: rebase, fix test name Created 3 years, 10 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/external/wpt/mediacapture-streams/GUM-empty-option-param.https-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/GUM-empty-option-param.https-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/GUM-empty-option-param.https-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a303a5aa7995fb666aef6a953fc72b65ea6875cb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/mediacapture-streams/GUM-empty-option-param.https-expected.txt
@@ -0,0 +1,11 @@
+This is a testharness.js-based test.
+FAIL Tests that getUserMedia raises a NOT_SUPPORTED_ERR exception when used with an empty options parameter assert_throws: function "function () {
+ navigator.getUserMedia({}, t.step_func(function (stream) {
+ assert_unreached("This should never be triggered since the constraints parameter is empty");
+ t.done();
+ }), t.step_func(function (error) {
+ assert_unreached("This should never be triggered since the constraints parameter is empty");
+ }));
+ }" threw object "TypeError: Failed to execute 'getUserMedia' on 'Navigator': At least one of audio and video must be requested" that is not a DOMException NOT_SUPPORTED_ERR: property "code" is equal to undefined, expected 9
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698