W3C home > Mailing lists > Public > public-webapi@w3.org > March 2006

Re: ISSUE-40: DOM3EV: does dispatchEvent accept foreign Event objects?

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 16 Mar 2006 11:22:56 +1100
To: Web APIs WG <public-webapi@w3.org>
Message-ID: <20060316002256.GC14928@port.mcc.id.au>

Jonas Sicking:
> I think we should allow this. I think we will otherwise end up in the 
> same situation that we are in now with the WRONG_DOCUMENT_ERROR 
> exception and moving nodes between documents. I.e. that the spec says 
> that something isn't permitted, but implementations allow it anyway.

How about event objects created by different DOMImplementations?  As a
data point: Batik allows dispatching event objects from a different
document but not from a different DOM implementation.

 Cameron McCormack			ICQ: 26955922
 cam (at) mcc.id.au			MSN: cam (at) mcc.id.au
 http://mcc.id.au/			JBR: heycam (at) jabber.org
Received on Thursday, 16 March 2006 00:23:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:20 UTC