summaryrefslogtreecommitdiffstats
path: root/dom/tests/unit/test_geolocation_provider.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/unit/test_geolocation_provider.js')
-rw-r--r--dom/tests/unit/test_geolocation_provider.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/tests/unit/test_geolocation_provider.js b/dom/tests/unit/test_geolocation_provider.js
index 8c58cd39f5..e08887bfce 100644
--- a/dom/tests/unit/test_geolocation_provider.js
+++ b/dom/tests/unit/test_geolocation_provider.js
@@ -12,10 +12,10 @@ function terminate(succ) {
geolocation.clearWatch(watchID);
}
-function successCallback(pos) {
+function successCallback() {
terminate(true);
}
-function errorCallback(pos) {
+function errorCallback() {
terminate(false);
}