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

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

From: Glenn Maynard <glenn@zewt.org>
Date: Tue, 24 Apr 2012 14:38:12 -0500
Message-ID: <CABirCh_U-Y20r+XE2i2YW9oRNSNeZetDk+cOc+2+LPJORzQg1A@mail.gmail.com>
To: olli@pettay.fi
Cc: Travis Leithead <travis.leithead@microsoft.com>, "public-webapps@w3c.org" <public-webapps@w3c.org>, "Anne van Kesteren (annevk@opera.com)" <annevk@opera.com>, Jacob Rossi <Jacob.Rossi@microsoft.com>
On Tue, Apr 24, 2012 at 2:23 PM, Olli Pettay <Olli.Pettay@helsinki.fi>wrote:
> Yes. It should be possible to re-dispatch events. But if a script
> running on a web page dispatches event, the event must become
> untrusted.

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?

Glenn Maynard
Received on Tuesday, 24 April 2012 19:38:41 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:40 UTC