blob: 9d49c09ed364d077120b00f51bde039ae754a2f1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script>
test(t => {
assert_true('receiver' in navigator.presentation);
}, "Test that presentation.receiver is present.")
test(t => {
assert_not_equals(navigator.presentation.receiver, null);
}, "Test that presentation.receiver returns non-null when the setting is set.");
test(t => {
assert_equals(typeof(navigator.presentation.receiver), "object");
assert_true('connectionList' in navigator.presentation.receiver);
assert_equals(typeof(navigator.presentation.receiver.connectionList), "object");
}, "Test the Presentation Receiver API properties types and presence.");
</script>
</body>
</html>