diff options
Diffstat (limited to 'testing/web-platform/tests/mediasession/setcameraactive.html')
-rw-r--r-- | testing/web-platform/tests/mediasession/setcameraactive.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/mediasession/setcameraactive.html b/testing/web-platform/tests/mediasession/setcameraactive.html new file mode 100644 index 0000000000..d5cd6a93f1 --- /dev/null +++ b/testing/web-platform/tests/mediasession/setcameraactive.html @@ -0,0 +1,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> |