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

On 4/24/12 9: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).
>
> 
>From: Glenn Maynard [mailto:glenn@zewt.org]
> 
>
>What's the point of isTrusted, anyway?  You have to trust other scripts
>running in the same page anyway.  Does it come into play with
>cross-origin iframes or something?

See http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-isTrusted

--tobie

Received on Tuesday, 24 April 2012 20:03:35 UTC