Open
Bug 1933558
Opened 10 days ago
Updated 9 days ago
`Cannot coerce default dictionary value to type USVStringDoubleRecord.`
Categories
(Core :: DOM: Bindings (WebIDL), task)
Core
DOM: Bindings (WebIDL)
Tracking
()
NEW
People
(Reporter: ErichDonGubler, Unassigned)
References
(Blocks 1 open bug)
Details
While working on bug 1933548, I discovered that setting a default value of {}
for a record<USVString, GPUPipelineConstantValue>
dictionary field throws the following error during IDL bindings generation:
0:29.47 WebIDL.WebIDLError: error: Cannot coerce default dictionary value to type USVStringDoubleRecord., <snip>/dom/webidl/WebGPU.webidl line 662:48
This seems like something that should be permitted; an empty dictionary should simply coerce to an empty record, right? 🤔
Updated•9 days ago
|
Type: defect → task
You need to log in
before you can comment on or make changes to this bug.
Description
•