No subject


Mon Jan 28 08:41:14 PST 2013


"There are some gotchas: e.g. if your port is using out of process plugins, and
the plugin wants to react to a user gesture, you're probably storing whether
WebKit is processing a user gesture before calling out to the plugin, and
restore a UserGestureIndicator once the plugin replies. To make sure a plugin
cannot use this to generate additional user gestures (after the original user
gesture was already consumed), you should store the
UserGestureIndicator::currentToken() and use that to create the
UserGestureIndicator (it's basically a ref-counted integer of how many gestures
are left to consume)."

If this patch is known to break out-of-process plugins, then this patch is
known to break "must not break" ports.


More information about the webkit-reviews mailing list