Open Bug 1824504 Opened 1 year ago Updated 2 months ago

`WebGPU.webidl` should use namespaces, not interfaces, for enumerations

Categories

(Core :: Graphics: WebGPU, task, P2)

task

Tracking

()

People

(Reporter: jimb, Unassigned)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

In gpuweb#1709, the WebGPU WebIDL switched to using namespaces for enumerated constants, apparently because the bikeshed spec formatting software was now able to handle that. Firefox's WebIDL should be changed to match.

Unfortunately, we can't do this at the moment because our WebIDL compiler doesn't support the [SecureContext] extended attribute on namespaces. Bug 1824479 has been filed for this.

Patch written previously here: https://phabricator.services.mozilla.com/D173583

Severity: -- → S3
Priority: -- → P2
Blocks: webgpu-phase-2
No longer blocks: webgpu-v1
Blocks: 1886808
You need to log in before you can comment on or make changes to this bug.