diff options
author | Steve Block <steveblock@google.com> | 2010-02-12 16:33:50 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-02-23 17:58:43 +0000 |
commit | 3429efc308249172d26d6c9edb5e2d36c1c5855a (patch) | |
tree | 7b3a14865f7fa66557037fbae0de02313282d374 /WebCore/page/Geolocation.cpp | |
parent | 0619f0601ffda6f9b1e7ef9870de4a6d14defbd1 (diff) | |
download | external_webkit-3429efc308249172d26d6c9edb5e2d36c1c5855a.zip external_webkit-3429efc308249172d26d6c9edb5e2d36c1c5855a.tar.gz external_webkit-3429efc308249172d26d6c9edb5e2d36c1c5855a.tar.bz2 |
Fixes a bug with showing the Geolocation permissions prompt
Currently, if an iframe causes the Geolocation permissions prompt to be shown,
but the frame is navigated away before the user responds to the permissions
prompt, the prompt is not removed from the screen.
This change fixes that bug. It uses the new
ChromeClient::cancelGeolocationPermissionRequestForFrame() method, which was
cherry-picked from WebKit in https://android-git.corp.google.com/g/#change,41747
The logic is complicated by the fact that multiple iframes may have requested
Geolocation permissions for the same origin. In this case, we should not hide
the prompt until the last such frame is navigated away.
Bug: 2463551
Change-Id: I1e4de05586150c7a94bc8343f6e56e4a4870cd3b
Diffstat (limited to 'WebCore/page/Geolocation.cpp')
0 files changed, 0 insertions, 0 deletions