Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Unified Diff: modules/websockets/CloseEvent.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/webmidi/NavigatorWebMIDI.idl ('k') | modules/websockets/CloseEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/websockets/CloseEvent.idl
diff --git a/modules/websockets/CloseEvent.idl b/modules/websockets/CloseEvent.idl
index be0f1e391b5ef5a02ffe6852fb130f6d894a45df..7371ad94f20c6261dbd18dd1cfb1e98916bf411f 100644
--- a/modules/websockets/CloseEvent.idl
+++ b/modules/websockets/CloseEvent.idl
@@ -28,11 +28,13 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://html.spec.whatwg.org/multipage/comms.html#the-closeevent-interfaces
+
[
- EventConstructor,
+ Constructor(DOMString type, optional CloseEventInit eventInitDict),
+ Exposed=(Window,Worker),
] interface CloseEvent : Event {
- [InitializedByEventConstructor] readonly attribute boolean wasClean;
- [InitializedByEventConstructor] readonly attribute unsigned short code;
- [InitializedByEventConstructor] readonly attribute DOMString reason;
+ readonly attribute boolean wasClean;
+ readonly attribute unsigned short code;
+ readonly attribute DOMString reason;
};
-
« no previous file with comments | « modules/webmidi/NavigatorWebMIDI.idl ('k') | modules/websockets/CloseEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698