summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mediasession/setcameraactive.html
blob: d5cd6a93f12b6c0532d02d328ee66cb2db365d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<title>MediaSession.setCameraActive</title>
<script src=/resources/testharness.js></script>
<script src="/resources/testharnessreport.js"></script>
<script>

test(function(t) {
  window.navigator.mediaSession.setCameraActive(true);
  window.navigator.mediaSession.setCameraActive(false);
}, "Test that setCameraActive() can be executed for boolean values");

</script>