blob: 145f1bd10c60c6dca6b201a959112f1d96fc662d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("Tests how Geolocation handles receiving too few arguments.");
shouldThrow("window.navigator.geolocation.getCurrentPosition()");
shouldThrow("window.navigator.geolocation.watchPosition()");
shouldThrow("window.navigator.geolocation.clearWatch()");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>