Skip to content

WebIDL Section 3.2.2: "sequence" as an attribute prohibited #43

@aboba

Description

@aboba

From Shijun Sun:

The WebIDL specification Section 3.2.2 third paragraph states that “sequence” as attribute is explicitly prohibited:
(see http://www.w3.org/TR/WebIDL/#idl-attributes):

"The type of the attribute MUST NOT be a sequence type or nullable sequence type, and it MUST NOT be a union type if one of its member types (or one of its member types’s member types, and so on) is a sequence type or nullable sequence type."

There are a few places in the current spec, RTCIceTransport and RTCIceListener, where we should consider changing the attributes to methods, for example, getXXXX() that returns a sequence or object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions