W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

[Bug 19988] add a [LenientFloat] to mean "ignore IDL attribute assignment or method call if a non-finite float is passed"

From: <bugzilla@jessica.w3.org>
Date: Mon, 26 Nov 2012 20:04:24 +0000
To: public-script-coord@w3.org
Message-ID: <bug-19988-3890-nVUPYV8RQy@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19988

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> ---
What I implemented in Gecko is that a type "contains restricted floats" if any
of the following conditions hold:

1)  It is "float" or "double".
2)  It is a nullable type where the underlying type contains restricted floats.
3)  It's a union type where one of the union members contains restricted
floats.
4)  It's a sequence type where the element type contains restricted floats.

and allowed [LenientFloat] on operations that return void and have an argument
hat contains restricted floats or on writable attributes whose type contains
restricted floats.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 26 November 2012 20:04:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:08 UTC