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: 
Received on Tuesday, 23 July 2013 01:19:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:17 UTC