navigator.geolocation.getCurrentPosition does not call the error callback on failure

Originator:callum
Number:rdar://24087123 Date Originated:06-Jan-2016 11:47 PM
Status:Open Resolved:
Product:iOS Product Version:9.2
Classification: Reproducible:
 
Summary:
Webpages inside a SFSafariViewController that use navigator.geolocation.getCurrentPosition do not get an error callback (or any callback) when this function is invoked.

Steps to Reproduce:
1. Launch a SFSafariViewController with a webpage that uses navigator.geolocation.getCurrentPosition
2. The error or success callback is not invoked

Expected Results:
An error callback is invoked if there is an error.

Actual Results:
No callbacks are invoked and no errors occur.

Version:
iOS 9.2

Notes:
Unsure if this is due to location services not being requested by the parent app but regardless the error callback should be invoked.

Configuration:
iPhone 6S, iPhone Simular

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!