summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/canvas/WebGLContextEvent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/canvas/WebGLContextEvent.idl')
-rw-r--r--Source/WebCore/html/canvas/WebGLContextEvent.idl7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/WebCore/html/canvas/WebGLContextEvent.idl b/Source/WebCore/html/canvas/WebGLContextEvent.idl
index c3eba1029..3cd03b1c1 100644
--- a/Source/WebCore/html/canvas/WebGLContextEvent.idl
+++ b/Source/WebCore/html/canvas/WebGLContextEvent.idl
@@ -25,8 +25,11 @@
[
Conditional=WEBGL,
- ConstructorTemplate=Event
+ Constructor(DOMString type, optional WebGLContextEventInit eventInit),
] interface WebGLContextEvent : Event {
- [InitializedByEventConstructor] readonly attribute DOMString statusMessage;
+ readonly attribute DOMString statusMessage;
};
+dictionary WebGLContextEventInit : EventInit {
+ DOMString statusMessage = "";
+};