Closed MaxDesiatov closed 2 years ago
@j-f1 I needed a manual change in 6781702 to fix the absence of BitrateMode
, not sure if this a bug in IDL, or the parser, or our generator?
I recommend temporarily changing parse-all.js
to output JSON.stringify(parsedFiles)
, and then running node parse-all.js > specs.json
. You’ll be able to search for "name": "BitrateMode"
in the resulting file, and then use VS Code’s “Go to Parent Fold” command to find that the BitrateMode
type is defined in the mediastream-recording
spec.
Marking this as draft until https://github.com/swiftwasm/DOMKit/pull/19 is resolved.
Heads up that a few types have been disabled because they depend on specs not included in the initial PR, so feel free to remove any of these that work now:
Checked that list, only CanvasImageSource
can be auto-generated cleanly. OffscreenRenderingContext
needs full WebGL2 spec to work in a related enum.
This is a requirement for
webgl2
, which I'm going to add in a future PR.