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:06:50 +0000
To: Glenn Maynard <glenn@zewt.org>, Travis Leithead <travis.leithead@microsoft.com>
CC: "olli@pettay.fi" <olli@pettay.fi>, "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: <CBBCD3B2.7CCEF%tobie@fb.com>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:33 UTC