From 278399992f587abd594cd57a52cd3664184ebf35 Mon Sep 17 00:00:00 2001 From: Neil Rashbrook Date: Wed, 1 Apr 2009 17:43:34 +0100 Subject: [PATCH] Bug 485175 Make geolocation tests even more reliable r=dougt --- dom/tests/mochitest/geolocation/test_optional_api_params.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dom/tests/mochitest/geolocation/test_optional_api_params.html b/dom/tests/mochitest/geolocation/test_optional_api_params.html index de2ffb47ec7f..a7a2e48a96bf 100644 --- a/dom/tests/mochitest/geolocation/test_optional_api_params.html +++ b/dom/tests/mochitest/geolocation/test_optional_api_params.html @@ -105,6 +105,10 @@ try { } ok(!exception, exception); +// Successful calls trigger a geolocation notification, +// so clean up ready for the next test. +clickNotificationButton(kDenyButton); +