Index: modules/websockets/CloseEventInit.idl |
diff --git a/modules/websockets/CloseEventInit.idl b/modules/websockets/CloseEventInit.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ff5c9e8c5f3d94c0afa82eb711d036f9b1a0747b |
--- /dev/null |
+++ b/modules/websockets/CloseEventInit.idl |
@@ -0,0 +1,11 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://html.spec.whatwg.org/multipage/comms.html#the-closeevent-interfaces |
+ |
+dictionary CloseEventInit : EventInit { |
+ boolean wasClean; |
+ unsigned short code; |
+ DOMString reason; |
+}; |