blob: 8df08bfcfd0397f5caa789707cfb10c0403b67e5 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true ] -->
<head>
<title>PointerLock interface tests.</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/ui-helper.js"></script>
</head>
<body>
<div id="log"></div>
<script>
if (window.internals){
internals.markContextAsInsecure();
}
test(function() {
assert_false("canShare" in navigator);
},'canShare should not exist in insecure context');
test(function() {
assert_false("share" in navigator);
},'share should not exist in insecure context');
</script>
</body>
</html>