Skip to content

Commit

Permalink
Added necessary EventHandler typedef.
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed May 26, 2014
1 parent dcb704b commit 8a77a59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions websockets/interfaces.html
Expand Up @@ -51,6 +51,10 @@ <h1>Web Sockets IDL tests</h1>
unsigned short code;
DOMString reason;
};

[TreatNonCallableAsNull]
callback EventHandlerNonNull = any (Event event);
typedef EventHandlerNonNull? EventHandler;
</script>
<script>
"use strict";
Expand Down

0 comments on commit 8a77a59

Please sign in to comment.