The iBooks application is not able to get current position.
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 May 2017 10:08:38 +0000 (10:08 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 May 2017 10:08:38 +0000 (10:08 +0000)
commitc39283d3a4d567138e9759dd54583e838d0408bc
tree1a5ec06377044491587a40d47e385d51a8985f32
parent3184c94b0ebbc7ddbc88ee6d1d47175d76cd5bb2
The iBooks application is not able to get current position.
https://bugs.webkit.org/show_bug.cgi?id=171982
rdar://problem/29318409

Reviewed by Brent Fulgham.

Geolocation requests from iBooks are currently blocked. Make an exemption from the policy for iBooks.

No new tests since we currently can't mock the iBooks application bundle ID.

* Modules/geolocation/Geolocation.cpp:
(WebCore::isRequestFromIBooks):
(WebCore::Geolocation::shouldBlockGeolocationRequests):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/geolocation/Geolocation.cpp