[Webkit-unassigned] [Bug 170362] Add SPI for handling geolocation authorization requests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 7 11:55:01 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170362

--- Comment #10 from David Quesada <david_quesada at apple.com> ---
(In reply to Alex Christensen from comment #9)
> FYI, there are API tests for geolocation in
> Tools/TestWebKitAPI/Tests/WebKit2/Geolocation.cpp but none for the cocoa api
> yet.  Yours might be able to be conceptually similar to those.

Yep, I saw those when I first looked into writing tests for this, but like you said, they don't use the Cocoa API. Right now I'm playing around with adding a "geolocation provider" object on the process pool that (if non-nil) the WKGeolocationProviderIOS will use instead of the WebKit1 location provider class (WebGeolocationCoreLocationProvider). The Cocoa API test can provide a dummy geolocation provider, and will be similar to the Geolocation.cpp tests, just with a different API.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170407/67288194/attachment.html>


More information about the webkit-unassigned mailing list