mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb/WebGL: Make getExtension spec-compliant
Namely: - Perform case-insensitive matching - Return the same extension objects every time - Only enable the extension if it's supported by the current context
This commit is contained in:
parent
442f0b9a13
commit
cfbd125e57
Notes:
github-actions[bot]
2025-01-21 20:37:52 +00:00
Author: https://github.com/Lubrsi
Commit: cfbd125e57
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3239
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/kalenikaliaksandr
3 changed files with 39 additions and 4 deletions
|
@ -841,6 +841,8 @@ struct OscillatorOptions;
|
|||
}
|
||||
|
||||
namespace Web::WebGL {
|
||||
class ANGLEInstancedArrays;
|
||||
class OESVertexArrayObject;
|
||||
class OpenGLContext;
|
||||
class WebGL2RenderingContext;
|
||||
class WebGLActiveInfo;
|
||||
|
@ -858,6 +860,7 @@ class WebGLSync;
|
|||
class WebGLTexture;
|
||||
class WebGLUniformLocation;
|
||||
class WebGLVertexArrayObject;
|
||||
class WebGLVertexArrayObjectOES;
|
||||
}
|
||||
|
||||
namespace Web::WebIDL {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue