- From: <bugzilla@jessica.w3.org>
- Date: Fri, 16 Nov 2012 23:27:51 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19988
Priority: P2
Bug ID: 19988
CC: bzbarsky@mit.edu, mike@w3.org,
public-script-coord@w3.org
Assignee: cam@mcc.id.au
Summary: add a [LenientFloat] to mean "ignore IDL attribute
assignment or method call if a non-finite float is
passed"
QA Contact: public-webapps-bugzilla@w3.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: cam@mcc.id.au
Hardware: PC
Status: NEW
Version: unspecified
Component: WebIDL
Product: WebAppsWG
It sucks a bit that the various canvas APIs have to take "unrestricted float"
and explicitly do nothing when non-finite Number values are passed/assigned to
them. We could add a [LeninentFloat] extended attribute that can be put on IDL
operations that return void and have one or more float arguments (or union
types that have a float in them) and writable IDL attributes of type float,
which would mean that when converting the value to the IDL float, NaNs and
infinities cause the invocation to return and do nothing rather than throwing.
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 16 November 2012 23:27:52 UTC