@@ -164,7 +164,7 @@ interface EcdsaParams extends Algorithm {
164164}
165165
166166interface EncodedVideoChunkInit {
167- data : BufferSource ;
167+ data : AllowSharedBufferSource ;
168168 duration ?: number ;
169169 timestamp : number ;
170170 type : EncodedVideoChunkType ;
@@ -757,7 +757,7 @@ interface VideoDecoderConfig {
757757 codedHeight ?: number ;
758758 codedWidth ?: number ;
759759 colorSpace ?: VideoColorSpaceInit ;
760- description ?: BufferSource ;
760+ description ?: AllowSharedBufferSource ;
761761 displayAspectHeight ?: number ;
762762 displayAspectWidth ?: number ;
763763 hardwareAcceleration ?: HardwareAcceleration ;
@@ -2360,7 +2360,7 @@ interface EncodedVideoChunk {
23602360 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/type) */
23612361 readonly type : EncodedVideoChunkType ;
23622362 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/copyTo) */
2363- copyTo ( destination : BufferSource ) : void ;
2363+ copyTo ( destination : AllowSharedBufferSource ) : void ;
23642364}
23652365
23662366declare var EncodedVideoChunk : {
@@ -5753,13 +5753,13 @@ interface VideoFrame {
57535753 clone ( ) : VideoFrame ;
57545754 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */
57555755 close ( ) : void ;
5756- copyTo ( destination : BufferSource , options ?: VideoFrameCopyToOptions ) : Promise < PlaneLayout [ ] > ;
5756+ copyTo ( destination : AllowSharedBufferSource , options ?: VideoFrameCopyToOptions ) : Promise < PlaneLayout [ ] > ;
57575757}
57585758
57595759declare var VideoFrame : {
57605760 prototype : VideoFrame ;
57615761 new ( image : CanvasImageSource , init ?: VideoFrameInit ) : VideoFrame ;
5762- new ( data : BufferSource , init : VideoFrameBufferInit ) : VideoFrame ;
5762+ new ( data : AllowSharedBufferSource , init : VideoFrameBufferInit ) : VideoFrame ;
57635763} ;
57645764
57655765/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_color_buffer_float) */
@@ -6955,10 +6955,10 @@ interface WebGL2RenderingContextBase {
69556955interface WebGL2RenderingContextOverloads {
69566956 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
69576957 bufferData ( target : GLenum , size : GLsizeiptr , usage : GLenum ) : void ;
6958- bufferData ( target : GLenum , srcData : BufferSource | null , usage : GLenum ) : void ;
6958+ bufferData ( target : GLenum , srcData : AllowSharedBufferSource | null , usage : GLenum ) : void ;
69596959 bufferData ( target : GLenum , srcData : ArrayBufferView , usage : GLenum , srcOffset : GLuint , length ?: GLuint ) : void ;
69606960 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
6961- bufferSubData ( target : GLenum , dstByteOffset : GLintptr , srcData : BufferSource ) : void ;
6961+ bufferSubData ( target : GLenum , dstByteOffset : GLintptr , srcData : AllowSharedBufferSource ) : void ;
69626962 bufferSubData ( target : GLenum , dstByteOffset : GLintptr , srcData : ArrayBufferView , srcOffset : GLuint , length ?: GLuint ) : void ;
69636963 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
69646964 compressedTexImage2D ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , imageSize : GLsizei , offset : GLintptr ) : void ;
@@ -7986,9 +7986,9 @@ interface WebGLRenderingContextBase {
79867986interface WebGLRenderingContextOverloads {
79877987 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
79887988 bufferData ( target : GLenum , size : GLsizeiptr , usage : GLenum ) : void ;
7989- bufferData ( target : GLenum , data : BufferSource | null , usage : GLenum ) : void ;
7989+ bufferData ( target : GLenum , data : AllowSharedBufferSource | null , usage : GLenum ) : void ;
79907990 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
7991- bufferSubData ( target : GLenum , offset : GLintptr , data : BufferSource ) : void ;
7991+ bufferSubData ( target : GLenum , offset : GLintptr , data : AllowSharedBufferSource ) : void ;
79927992 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
79937993 compressedTexImage2D ( target : GLenum , level : GLint , internalformat : GLenum , width : GLsizei , height : GLsizei , border : GLint , data : ArrayBufferView ) : void ;
79947994 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */
0 commit comments