blob: bbd6fec42d60a84a1242cbf82fcafcefbb9807fc [file] [edit]
<!DOCTYPE html>
<html>
<head>
<script src="../resources/js-test-pre.js"></script>
<script src="../resources/document-leak-test.js"></script>
</head>
<body>
<script>
description("Tests that navigator.geolocation.getCurrentPosition() does not leak the document object.");
onload = () => runDocumentLeakTest({ frameURL: "https://127.0.0.1:8443/geolocation/resources/geolocation-get-position-callback.html", framesToCreate: 20 });
</script>
<script src="../resources/js-test-post.js"></script>
</body>
</html>