<!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>

