1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

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
parent 7d1fcb0cb3
commit b0c2aee2e4
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 = "";
};