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

Side by Side 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, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 This is a testharness.js-based test.
2 FAIL Tests that getUserMedia raises a NOT_SUPPORTED_ERR exception when used with an empty options parameter assert_throws: function "function () {
3 navigator.getUserMedia({}, t.step_func(function (stream) {
4 assert_unreached("This should never be triggered since the constraints p arameter is empty");
5 t.done();
6 }), t.step_func(function (error) {
7 assert_unreached("This should never be triggered since the constraints p arameter is empty");
8 }));
9 }" threw object "TypeError: Failed to execute 'getUserMedia' on 'Navigator': A t 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
10 Harness: the test ran to completion.
11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698