W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2011

Re: Valid auto-invocation events

From: Robin Berjon <robin@berjon.com>
Date: Tue, 6 Sep 2011 16:06:43 +0200
Cc: www-dom@w3.org, public-device-apis@w3.org
Message-Id: <E0A7EFEC-DEBC-48D7-8C91-7545D5E831BB@berjon.com>
To: Anne van Kesteren <annevk@opera.com>
On Sep 6, 2011, at 14:21 , Anne van Kesteren wrote:
> On Tue, 06 Sep 2011 13:52:21 +0200, Robin Berjon <robin@berjon.com> wrote:
>> [...]
> 
> <input>.click() and window.open() are not events.

Sorry if I wasn't clear, I didn't say that they were. Whether you can call them successfully however does depend (in many cases) on user-initiated behaviour. Otherwise, popups get blocked, the file dialog doesn't show, etc.

> For window.open() I believe HTML uses http://www.whatwg.org/C#allowed-to-navigate which is also used for setting window.location. There might be some other conditions as well.

Those are not the conditions we've been looking for.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Tuesday, 6 September 2011 14:07:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:08 GMT