[Webkit-unassigned] [Bug 50386] New: Event::fromUserGesture() should be based on Event creation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 2 07:26:38 PST 2010


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

           Summary: Event::fromUserGesture() should be based on Event
                    creation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Android
        OS/Version: Android
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kristianm at google.com


At the moment a Event is considered a UserGesture if UserGestureIndicator::processingUserGesture() returns true when the event is handled.

The correct thing to do is to base it on what UserGestureIndicator::processingUserGesture() returns when the event is created. If the JS engine handles the event on a different call stack, Event::fromUserGesture() should still return true.

This is similar to how ScheduledNavigation works.

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