[`GPUObjectBase`](https://gpuweb.github.io/gpuweb/#gpuobjectbase) is useful primarily for its [`label` field](https://gpuweb.github.io/gpuweb/#dom-gpuobjectbase-label). This label is usually a user-provided value set by descriptors that are used to construct objects (i.e., as a `GPUDescriptorBase.label`). The spec. strongly encourages us to use these labels in the debugging experience we build for WebGPU users in Firefox. …and we currently don't use these labels at all! We should fix this as an important part of Firefox's usability story with the WebGPU API. This is likely to become a meta-bug, since the breadth of errors in WebGPU is vast. It's unlikely that a single patch series will be a tractable way to resolve the above.
Bug 1844709 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
[`GPUObjectBase`](https://gpuweb.github.io/gpuweb/#gpuobjectbase) is useful primarily for its [`label` field](https://gpuweb.github.io/gpuweb/#dom-gpuobjectbase-label). This label is usually a user-provided value set by descriptors that are used to construct objects (i.e., as a `GPUDescriptorBase.label`). The spec. strongly encourages us to use these labels in the debugging experience we build for WebGPU users in Firefox. …and we currently don't use these labels hardly at all in WebGPU diagnostics in Firefox! We should fix this as an important part of Firefox's usability story with the WebGPU API. This is likely to become a meta-bug, since the breadth of errors in WebGPU is vast. It's unlikely that a single patch series will be a tractable way to resolve the above.