W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2009

Re: Type of CustomEvent::detail

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 18 Sep 2009 18:52:38 +1000
To: Anne van Kesteren <annevk@opera.com>
Cc: www-dom@w3.org
Message-ID: <20090918085238.GI7053@wok.mcc.id.au>
Cameron McCormack:
> > I suggest that the type of the detail attribute on CustomEvent be
> > changed to ‘any’, so that Numbers, Strings and Booleans can be stored
> > without them being converted to objects.

Anne van Kesteren:
> Maybe this can use "structured clone" from HTML5.

Does that buy us anything that just keeping a plain object reference
doesn’t?  (Cross-language support for structured data?)  I can imagine
use cases where you do want to keep references to original objects
stored in detail (e.g. Nodes).

Cameron McCormack ≝ http://mcc.id.au/
Received on Friday, 18 September 2009 08:53:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:15 UTC