[Webkit-unassigned] [Bug 35809] New: cancelGeolocationPermissionRequestForFrame not called if document in a iframe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 5 14:21:10 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35809

           Summary: cancelGeolocationPermissionRequestForFrame not called
                    if document in a iframe
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://renevier.net/misc/geoloc_inside_frame.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arno at renevier.net


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list