Bug 35809
Summary: | cancelGeolocationPermissionRequestForFrame not called if document in a iframe | ||
---|---|---|---|
Product: | WebKit | Reporter: | arno. <a.renevier> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | jknotten |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 | ||
URL: | http://renevier.net/misc/geoloc_inside_frame.html | ||
Bug Depends on: | 34962 | ||
Bug Blocks: |
arno.
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
John Knottenbelt
*** This bug has been marked as a duplicate of bug 52877 ***