WebGLRenderingContext.createBuffer() may return null
.
#33471
Labels
Content:WebAPI
Web API docs
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/createBuffer
What specific section or headline is this issue about?
Return value
What information was incorrect, unhelpful, or incomplete?
The return value
What did you expect to see?
The fact that it may return
null
and preferably also why it may returnnull
.Do you have any supporting links, references, or citations?
The [WebGL specification](https://registry.khronos.org/webgl/specs/latest/1.0/#5.14.5:~:text=error%20is%20generated.-,WebGLBuffer%3F%20createBuffer(),-(OpenGL%20ES) only says:
It never mentions the reason for its return type and I couldn't find anything on the WebGL issue tracker either.
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/api/webglrenderingcontext/createbuffer
The text was updated successfully, but these errors were encountered: