Skip to content

Commit

Permalink
Align WebGLContextEvent with Web IDL spec. (KhronosGroup#3266)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrussell authored Mar 29, 2021
1 parent 953aa5c commit cacedbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions specs/latest/1.0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3462,10 +3462,9 @@ <h3><a name="WEBGLCONTEXTEVENT">WebGLContextEvent</a></h3>
given object.
</p>
<pre class="idl">
[Exposed=(Window,Worker),
Constructor(DOMString type,
optional WebGLContextEventInit eventInit = {})]
interface <dfn id="WebGLContextLostEvent">WebGLContextEvent</dfn> : <a href="http://www.w3.org/TR/domcore/#event">Event</a> {
[Exposed=(Window,Worker)]
interface <dfn id="WebGLContextEvent">WebGLContextEvent</dfn> : <a href="http://www.w3.org/TR/domcore/#event">Event</a> {
constructor(DOMString type, optional WebGLContextEventInit eventInit = {});
readonly attribute DOMString statusMessage;
};

Expand Down
5 changes: 2 additions & 3 deletions specs/latest/1.0/webgl.idl
Original file line number Diff line number Diff line change
Expand Up @@ -754,10 +754,9 @@ WebGLRenderingContext includes WebGLRenderingContextBase;
WebGLRenderingContext includes WebGLRenderingContextOverloads;


[Exposed=(Window,Worker),
Constructor(DOMString type,
optional WebGLContextEventInit eventInit = {})]
[Exposed=(Window,Worker)]
interface WebGLContextEvent : Event {
constructor(DOMString type, optional WebGLContextEventInit eventInit = {});
readonly attribute DOMString statusMessage;
};

Expand Down

0 comments on commit cacedbf

Please sign in to comment.