summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/geolocation/geolocation.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/geolocation/geolocation.html')
-rw-r--r--dom/tests/mochitest/geolocation/geolocation.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/dom/tests/mochitest/geolocation/geolocation.html b/dom/tests/mochitest/geolocation/geolocation.html
new file mode 100644
index 000000000..e62f13e7d
--- /dev/null
+++ b/dom/tests/mochitest/geolocation/geolocation.html
@@ -0,0 +1,13 @@
+<html>
+ <head>
+ <title>Simple access of geolocation</title>
+ <head>
+ <script>
+ function loadedWindow() {
+ opener.postMessage("loaded", "*");
+ }
+ navigator.geolocation.getCurrentPosition(loadedWindow, loadedWindow, {timeout:30000});
+ </script>
+ </head>
+ <body></body>
+</html>