LibWeb: Introduce the WebGL namespace and add WebGLContextEvent

This commit is contained in:
Luke Wilde 2022-06-04 04:18:32 +01:00 committed by Linus Groh
commit b0c2aee2e4
Notes: sideshowbarker 2024-07-17 10:16:15 +09:00
8 changed files with 74 additions and 1 deletions

View file

@ -0,0 +1,11 @@
#import <DOM/Event.idl>
[Exposed=(Window,Worker)]
interface WebGLContextEvent : Event {
constructor(DOMString type, optional WebGLContextEventInit eventInit = {});
readonly attribute DOMString statusMessage;
};
dictionary WebGLContextEventInit : EventInit {
DOMString statusMessage = "";
};