4 <script src=
"../../../resources/js-test.js"></script>
8 description("Tests how Geolocation handles receiving too few arguments.");
10 shouldThrow("window.navigator.geolocation.getCurrentPosition()");
11 shouldThrow("window.navigator.geolocation.watchPosition()");
12 shouldThrow("window.navigator.geolocation.clearWatch()", '"TypeError: Failed to execute \'clearWatch\' on \'Geolocation\': 1 argument required, but only 0 present."');