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 authored Sep 21, 2020
1 parent fa37c4b commit e59aba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mediacapture-streams/MediaDevices-getUserMedia.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <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(navigator.mediaDevices.getSupportedConstraints, undefined, "navigator.mediaDevices.getSupportedConstraints exists.");
var list = navigator.mediaDevices.getSupportedConstraints();
Expand Down

0 comments on commit e59aba1

Please sign in to comment.