[Webkit-unassigned] [Bug 70940] New: [Chromium] Investigate where/when webView->resetGestureRecognizer should be called

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 26 10:11:35 PDT 2011


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

           Summary: [Chromium] Investigate where/when
                    webView->resetGestureRecognizer should be called
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fsamuel at chromium.org
                CC: fishd at chromium.org, dglazkov at chromium.org,
                    rjkroege at chromium.org, varunjain at chromium.org
        Depends on: 70507


It strikes me as odd that resetGestureRecognizer is called in WebFrameImpl::createFrameView...this is called for every subframe of a page, and for subframe navigation too! Here's a scenario where I expect this might break:

You have a rotating ad (the iframe navigates to a different page every few seconds), and on every navigation WebFrameImpl::createFrameView is called. 

Suppose you're in the process of doing a pinch-to-zoom gesture, and the iframe's src changes during that gesture. Now the gesture recognizer will get reset.

I haven't confirmed this actually happens but I suspect it might. 

I am currently in the process of refactoring WebFrameImpl::createFrameView().

-- 
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