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

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

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Wed, 25 Apr 2012 08:07:10 +0300
Message-ID: <4F97867E.8040500@helsinki.fi>
To: Glenn Maynard <glenn@zewt.org>
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 04/24/2012 10:38 PM, Glenn Maynard wrote:
> On Tue, Apr 24, 2012 at 2:23 PM, Olli Pettay <Olli.Pettay@helsinki.fi
> <mailto: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?
XBL2 or similar where the binding is coming from another domain.
(ShadowDOM + related specs would need it too)


-Olli



>  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 Wednesday, 25 April 2012 05:08:15 GMT

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