这是indexloc提供的服务,不要输入任何密码
Skip to content

Handling of omitted labels is unclear #4083

@jimblandy

Description

@jimblandy

The algorithm "create a new WebGPU object" says:

  1. Set object.label to descriptor.label.

However, descriptor.label is an optional member of the GPUObjectDescriptorBase dictionary type, whereas the label attribute of GPUObjectBase is declared:

attribute USVString label;

which doesn't admit null as a value.

When the label is omitted from the descriptor, it's not clear what we want to have happen:

  • If USVString is the type we want, then I guess it'd have to be set to the empty string.

  • But maybe we want USVString?, and an omitted label dictionary member results in a null label.

Metadata

Metadata

Assignees

No one assigned

    Labels

    copyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions