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

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

From: Tobie Langel <tobie@fb.com>
Date: Tue, 24 Apr 2012 20:02:37 +0000
To: Travis Leithead <travis.leithead@microsoft.com>, Glenn Maynard <glenn@zewt.org>, "olli@pettay.fi" <olli@pettay.fi>
CC: "public-webapps@w3c.org" <public-webapps@w3c.org>, "Anne van Kesteren (annevk@opera.com)" <annevk@opera.com>, Jacob Rossi <Jacob.Rossi@microsoft.com>
Message-ID: <CBBCD35E.7CCE3%tobie@fb.com>
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 GMT

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