Currently, when a Geolocation method is called, the error callback is invoked synchronously if the Geolocation service fails to start. This behavior is incorrect. All callbacks should be asynchronous. See the W3C spec - http://www.w3.org/TR/geolocation-API/#geolocation_interface.
The fix for this bug requires the 'setFatalError' framework in the fix for Bug 27944.
Created attachment 42029 [details] Patch 1 for Bug 28276 Adding a test for this bug would require new methods to be added to the mock Geolocation service and LayoutTestController. For such a simple fix, I don't think it's worthwhile.
Comment on attachment 42029 [details] Patch 1 for Bug 28276 Clearing flags on attachment: 42029 Committed r50585: <http://trac.webkit.org/changeset/50585>
All reviewed patches have been landed. Closing bug.