blob: de7be3b5d2a20b07250d8066f4f065e0aa8c8fa1 [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src="../http/tests/resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("Basic API existence test for Pointer Lock.")
shouldBeDefined("document.onpointerlockchange");
shouldBeDefined("document.onpointerlockerror");
shouldBeDefined("document.exitPointerLock");
shouldEvaluateTo("document.pointerLockElement", null);
element = document.createElement("div");
shouldBeDefined("element.requestPointerLock");
</script>
<script src="../http/tests/resources/js-test-post.js"></script>
</body>
</html>