Index: LayoutTests/fast/dom/Geolocation/script-tests/callback-exception.js |
diff --git a/LayoutTests/fast/dom/Geolocation/script-tests/callback-exception.js b/LayoutTests/fast/dom/Geolocation/script-tests/callback-exception.js |
index 1e32b1c4dbaf97fbaad570fbb7cb91c926a4aa2a..629d90c16fc28104f1e415e8d3920209ddad684d 100644 |
--- a/LayoutTests/fast/dom/Geolocation/script-tests/callback-exception.js |
+++ b/LayoutTests/fast/dom/Geolocation/script-tests/callback-exception.js |
@@ -22,6 +22,7 @@ navigator.geolocation.getCurrentPosition(function(p) { |
// Yield to allow for the error callback to be invoked. The timer |
// must be started before the exception is thrown. |
window.setTimeout(assertWeGotException, 0); |
+ expectError(); |
throw new Error('Exception in success callback'); |
}, function(e) { |
testFailed('Error callback invoked unexpectedly'); |