Closed Bug 1824504 Opened 2 years ago Closed 1 year ago

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

Categories

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

task

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: jimb, Assigned: ErichDonGubler)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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
Assignee: nobody → egubler
Status: NEW → ASSIGNED
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e8a117ccb231 refactor(webgpu): s/interface/namespace for enums. r=webgpu-reviewers,webidl,saschanaz,teoxoy
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
No longer blocks: webgpu-triage
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: