blob: 36f1f0d828e07815c6b9dccb4b39207416db05db [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src="../../http/tests/resources/js-test-pre.js"></script>
<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness.js"></script>
</head>
<body>
<div>
<div id="target1"></div>
</div>
<script>
description("Test that pointer lock is lost after navigation.")
window.jsTestIsAsync = true;
shouldBeDefined("window.testRunner");
shouldBe("internals.pageHasPendingPointerLock()", "false");
shouldBe("internals.pageHasPointerLock()", "false");
finishJSTest();
</script>
<script src="../../http/tests/resources/js-test-post.js"></script>
</body>
</html>