summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-already-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-already-error.js')
-rw-r--r--LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-already-error.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-already-error.js b/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-already-error.js
index cce57ce..10e28e6 100644
--- a/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-already-error.js
+++ b/LayoutTests/fast/dom/Geolocation/script-tests/permission-denied-already-error.js
@@ -23,7 +23,7 @@ function continueTest()
{
// Make another request, with permission already denied.
if (window.layoutTestController)
- layoutTestController.setMockGeolocationError(0, 'test');
+ layoutTestController.setMockGeolocationError(2, 'test');
navigator.geolocation.getCurrentPosition(function(p) {
testFailed('Success callback invoked unexpectedly');