JS Test Harness: Insert the stylesheet dynamically
[WebKit-https.git] / LayoutTests / fast / dom / Geolocation / not-enough-arguments.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <script>
8 description("Tests how Geolocation handles receiving too few arguments.");
9
10 shouldThrow("window.navigator.geolocation.getCurrentPosition()");
11 shouldThrow("window.navigator.geolocation.watchPosition()");
12 shouldThrow("window.navigator.geolocation.clearWatch()");
13
14 window.successfullyParsed = true;
15 </script>
16 <script src="../../js/resources/js-test-post.js"></script>
17 </body>
18 </html>