[Webkit-unassigned] [Bug 42827] Use the js-execute-active(entered) Frame to check the user gesture of page instead of checking the top frame

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 26 02:12:36 PDT 2010


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





--- Comment #11 from Adam Barth <abarth at webkit.org>  2010-07-26 02:12:36 PST ---
> I don't exactly know the difference between lexicalFrame and dynamicFrame.

You're right that we use the dynamic frame for gestures, but we use the lexical frame for almost everything else.  Calling the dynamic frame the "active frame" is likely to confuse people into screwing up other uses.

>How about adding a new method like activeFrameIsProcessingUserGesture and use it to test active frame's user gesture. Otherwise can we use ScriptController::anyPageIsProcessingUserGesture() to test whether any frame is prcessing user gsture.

I don't understand why we need these two APIs.  Can you explain why we need to make these distinctions?  It seems like clients just want to know if we're processing a user gesture.

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