-
Notifications
You must be signed in to change notification settings - Fork 345
Closed
Labels
copyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)Pure editorial stuff (copyediting, *.bs file syntax, etc.)
Milestone
Description
The algorithm "create a new WebGPU object" says:
- Set
object.labeltodescriptor.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
USVStringis the type we want, then I guess it'd have to be set to the empty string. -
But maybe we want
USVString?, and an omittedlabeldictionary member results in anulllabel.
Giangpro89, takahirox and toji
Metadata
Metadata
Assignees
Labels
copyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)Pure editorial stuff (copyediting, *.bs file syntax, etc.)