Skip to content

Commit

Permalink
Add historical test for navigator.getUserMedia
Browse files Browse the repository at this point in the history
This is only non-normatively defined, thus we should hope that
implementations will not continue to surface it.
  • Loading branch information
gsnedders committed Mar 5, 2024
1 parent 01412b2 commit 05c7ffc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mediacapture-streams/historical.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
assert_false("webkitMediaStream" in window);
}, "webkitMediaStream interface should not exist");

test(function() {
assert_false("getUserMedia" in navigator);
}, "navigator.getUserMedia should not exist");

test(function() {
assert_false("webkitGetUserMedia" in navigator);
}, "navigator.webkitGetUserMedia should not exist");
Expand Down

0 comments on commit 05c7ffc

Please sign in to comment.