2010-08-18 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
authorcommit-queue <commit-queue@webkit.org>
Wed, 18 Aug 2010 12:36:33 +0000 (12:36 +0000)
committerSimon Hausmann <simon.hausmann@nokia.com>
Wed, 25 Aug 2010 11:30:50 +0000 (13:30 +0200)
commit089151ec4f583359d129fdc3c5246d247962aa7c
tree0f960938d02e87354bc9317c1031d8c5a6d606af
parente3bec9eeccf5d1ebcc6d4c3ddd23df19fc9f7595
2010-08-18  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>

        Reviewed by Steve Block.

        [Qt] Request for permission before starting Geolocation service
        https://bugs.webkit.org/show_bug.cgi?id=42027

        Handles starting location acquisition when request is granted for ports using
        "!CLIENT_BASED_GEOLOCATION and PREEMPT_GEOLOCATION_PERMISSION" policy
        Only Qt port as of today uses the above combination. Enable
        PREEMPT_GEOLOCATION_PERMISSION for qt port.

        Below tests cover these changes on platform using PREEMPT_GEOLOCATION_PERMISSION
        - fast/dom/Geolocation/delayed-permission-allowed.html
        - fast/dom/Geolocation/delayed-permission-denied.html
        - fast/dom/Geolocation/delayed-permission-allowed-for-multiple-requests.html
        - fast/dom/Geolocation/delayed-permission-denied-for-multiple-requests.html

        * WebCore.pro:
        * page/Geolocation.cpp:
        (WebCore::Geolocation::handlePendingPermissionNotifiers):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.pro
WebCore/page/Geolocation.cpp