Skip to content

setValueCurveAtTime should throw if the curve has non-finite values #815

@rtoy

Description

@rtoy

We don't explicitly say it but invalid values such as NaN or Infinity in the curve for setValueCurveAtTime should throw an exception. We don't allow such values in the AudioParam value setter or any of the other automation methods.

(Is there a WebIDL way to constrain the values of the elements of an array? That would be ideal.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs EditsDecision has been made, the issue can be fixed. https://speced.github.io/spec-maintenance/about/

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions