W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

Re: [WebIDL] Type conversions triggered by "any" can be lossy

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 23 Jul 2013 11:19:05 +1000
Message-ID: <51EDDA09.8050301@mcc.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>
Boris Zbarsky wrote:
> I'm looking at http://dev.w3.org/2006/webapi/WebIDL/#es-any and it looks
> like if I pass NaN for an "any" value an exception will be thrown. That
> seems wrong to me. Presumably the "Number value" case should be using
> "unrestricted double", not "double".

Thanks, this got fixed here: 
http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.607;r2=1.608;f=h
Received on Tuesday, 23 July 2013 01:19:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC