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

On 4/24/12 10:00 PM, "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?

Are you asking about the purpose of exposing the property or the purpose
of trusted events?

The latter's obvious: prevent visited content from triggering actions the
UA wants to allow only after a user action. The former I'm not sure.

--tobie

Received on Tuesday, 24 April 2012 20:07:48 UTC