Skip to content

Commit

Permalink
Fix actual/expected argument order
Browse files Browse the repository at this point in the history
Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
  • Loading branch information
gsnedders and jan-ivar committed Sep 22, 2020
1 parent e1f3c83 commit 3cabe51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mediacapture-streams/MediaDevices-getUserMedia.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ <h1 class="instructions">Description</h1>
<script src=/resources/testharnessreport.js></script>
<script>
test(function () {
assert_not_equals(undefined, navigator.mediaDevices.getUserMedia, "navigator.mediaDevices.getUserMedia exists.");
assert_not_equals(navigator.mediaDevices.getUserMedia, undefined, "navigator.mediaDevices.getUserMedia exists.");
// TODO: do some stuff with it
assert_not_equals(undefined, navigator.mediaDevices.getSupportedConstraints, "navigator.mediaDevices.getSupportedConstraints exists.");
assert_not_equals(navigator.mediaDevices.getSupportedConstraints, undefined, "navigator.mediaDevices.getSupportedConstraints exists.");
var list = navigator.mediaDevices.getSupportedConstraints();
// TODO: we are supposed to check that all values returned can be used in a constraint ....
// NOTE: the current list of attributes that may or may not be here
Expand Down

0 comments on commit 3cabe51

Please sign in to comment.