W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > February 2012

[Bug 16075] Make a float/double type that excludes NaN/Infinity/-Infinity

From: <bugzilla@jessica.w3.org>
Date: Wed, 22 Feb 2012 15:35:43 +0000
To: public-webapps-bugzilla@w3.org
Message-Id: <E1S0EEJ-00043C-5X@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16075

--- Comment #2 from Aryeh Gregor <ayg@aryeh.name> 2012-02-22 15:35:42 UTC ---
Ms2ger points out that HTML already defines that a NotSupportedError has to be
thrown in these cases:

http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#dependencies

Except for canvas, where it's silently ignored:

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#2dcontext

The silent-ignore behavior for canvas needs to be supported somehow.  I
definitely think the default handling of throwing an exception should be moved
to WebIDL (and changed to TypeError for consistency).

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 22 February 2012 15:35:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 February 2012 15:35:49 GMT