KhronosGroup/WebGL

IDL contains typedefs nested in interface

depp opened this issue · 0 comments

depp commented

The file specs/1.0.3/webgl.idl contains typedefs inside interface definitions. This is not permitted by the IDL grammar, and prevents some IDL tools (specifically, webidl2.js) from parsing the file.

The typedefs are (with line numbers):

    519     typedef (ArrayBuffer or ArrayBufferView) BufferDataSource;
    646     typedef (ImageData or
    647              HTMLImageElement or
    648              HTMLCanvasElement or
    649              HTMLVideoElement) TexImageSource;