W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 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:42 +0000
To: public-script-coord@w3.org
Message-Id: <E1S0EEI-00042y-On@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 on the CC list for the bug.
Received on Wednesday, 22 February 2012 15:35:48 UTC

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