WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
89524
[Mac] Dismiss the Geolocation permission dialog in response to GeolocationClient::cancelPermissionRequest()
https://bugs.webkit.org/show_bug.cgi?id=89524
Summary
[Mac] Dismiss the Geolocation permission dialog in response to GeolocationCli...
Benjamin Poulain
Reported
2012-06-19 16:17:08 PDT
On WebKit1, the Geolocation permission query is not cancelled on cancelPermissionRequest: virtual void cancelPermissionRequest(WebCore::Geolocation*) OVERRIDE { }; (in WebGeolocationClient.h) The problem is we can have the WebKit layers calling Geolocation::setIsAllowed() after WebCore invoked cancelPermissionRequest(), which is incorrect. This could cause the Geolocation object to have erroneous permissions. The dialog does not have to be dismissed on cancelPermissionRequest(), but the WebGeolocationPolicyListener should be disconnected from its Geolocation object.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug