Skip to content

visibleRect can be negative in some paths #513

Open
@padenot

Description

@padenot

Authors can set negative visible rectangle values via VideoFrame(Buffer,)Init.visibleRect. https://w3c.github.io/webcodecs/#validate-videoframeinit checks that this isn't the case, but other paths use visibleRect without validating, such as Parse VideoFrameCopyToOptions and the VideoFrame ctor that takes aCanvasImageSource as argument.

Metadata

Metadata

Assignees

Labels

need-definitionAn issues where something needs to be specified normatively

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions