Bug 35809 - cancelGeolocationPermissionRequestForFrame not called if document in a iframe
Summary: cancelGeolocationPermissionRequestForFrame not called if document in a iframe
Status: RESOLVED DUPLICATE of bug 52877
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://renevier.net/misc/geoloc_insid...
Keywords:
Depends on: 34962
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-05 14:21 PST by arno.
Modified: 2011-02-14 03:27 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arno. 2010-03-05 14:21:10 PST
Hi,
I a document tries to use geolocation, a request is done to user, and document is unloaded, cancelGeolocationPermissionRequestForFrame is called.
But if document is loaded from an iframe or a frameset, and parent document is unloaded, that function isn't called anymore.

That's because, with an iframe, page element is destroyed (or at least set to null) before m_domWindow->disconnectFrame() is called. Then, cancelGeolocationPermissionRequestForFrame cannot be called in Geolocation::disconnectFrame.
Comment 1 John Knottenbelt 2011-02-14 03:27:31 PST

*** This bug has been marked as a duplicate of bug 52877 ***