Skip to content

[resize-observer] attributes cannot be sequence<T> #4683

@foolip

Description

@foolip

There are 3 such attributes in https://drafts.csswg.org/resize-observer/#resize-observer-entry-interface

https://heycam.github.io/webidl/#idl-sequence says "Sequences must not be used as the type of an attribute or constant." This is because it would return a new JS array every time.

These should probably be FrozenArray instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions