W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: [DOM3 Events/DOM4] re-dispatching trusted events with initEvent

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 24 Apr 2012 22:45:02 +0200
To: public-webapps@w3.org
Message-ID: <op.wdaelciu64w2qv@annevk-macbookpro.local>
On Tue, 24 Apr 2012 22:00:24 +0200, Glenn Maynard <glenn@zewt.org> wrote:
> On Tue, Apr 24, 2012 at 2:54 PM, Travis Leithead <
> travis.leithead@microsoft.com> wrote:
>> Glenn, isTrusted is the indicator that helps the web developer
>> distinguish between an event fired by the UA, or one fired by JavaScript
>> (e.g., dispatchEvent).
>
> I know what it does; I'm asking what its purpose is.  When is this  
> useful?

FWIW, I too am interested in this. I included it in DOM4 because DOM Level  
3 Events had it and I aimed for feature parity.


(Also, www-dom is actually the DOM mailing list, but I guess it does not  
matter much...)


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 24 April 2012 20:45:33 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:51 GMT