On Fri, Apr 12, 2013 at 10:58 PM, Benjamin Poulain <benja...@webkit.org>wrote:

> On Fri, Apr 12, 2013 at 5:05 AM, Jochen Eisinger <joc...@chromium.org>wrote:
>>
>> currently, WebKit allows for an arbitrary number of new windows to be
>> created in response to a single user gesture. This is "used" for example to
>> create pop-unders.
>>
>> In order to restrict the number of new windows to one per user gesture, a
>> port needs to invoke UserGestureIndicator::consumeUserGesture() in it's
>> ChromeClient::createWindow method.
>>
>> In https://bugs.webkit.org/show_bug.cgi?id=114379 I add this for WK2 and
>> for WK1 mac/win.
>>
>> Are other ports interested in this behavior? If not, I'd just skip the
>> corresponding tests.
>>
>
> I am confused.
> Why do you want to add something even in the case no port would be
> interested?
>

If indeed no port is interested, I would instead remove the consumable user
gesture code (since it was only used by chromium).

-jochen


>
> Benjamin
>
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to