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

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