blob: 30c226c032f2896bad3e8169e00c7fa98844e18f [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="/js-test-resources/js-test.js"></script>
</head>
<body>
<script>
description("Tests that IsLoggedIn is available in secure contexts.");
if (navigator.setLoggedIn !== undefined && typeof navigator.setLoggedIn === "function")
testPassed("navigator.setLoggedIn is defined as a function on a page with protocol " + document.location.protocol);
else
testFailed("navigator.setLoggedIn is undefined or not of type function on a page with protocol " + document.location.protocol);
</script>
</body>
</html>