Skip to content

Commit

Permalink
Make all parameters to initMessageEvent() optional except the first one
Browse files Browse the repository at this point in the history
Make all parameters to initMessageEvent() optional except the first one.

See corresponding DOM change at:
whatwg/dom#417

and discussion at:
whatwg/dom#387
  • Loading branch information
cdumez committed Mar 4, 2017
1 parent aa06e31 commit f9fac95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -93171,7 +93171,7 @@ interface <dfn>MessageEvent</dfn> : <span>Event</span> {
readonly attribute <span>MessageEventSource</span>? <span data-x="dom-MessageEvent-source">source</span>;
readonly attribute FrozenArray&lt;<span>MessagePort</span>&gt; <span data-x="dom-MessageEvent-ports">ports</span>;

void <span data-x="dom-MessageEvent-initMessageEvent">initMessageEvent</span>(DOMString type, boolean bubbles, boolean cancelable, any data, USVString origin, DOMString lastEventId, <span>MessageEventSource</span>? source, sequence&lt;<span>MessagePort</span>&gt; ports);
void <span data-x="dom-MessageEvent-initMessageEvent">initMessageEvent</span>(DOMString type, boolean bubbles = false, boolean cancelable = false, any data = null, USVString origin = "", DOMString lastEventId = "", <span>MessageEventSource</span>? source = null, sequence&lt;<span>MessagePort</span>&gt; ports = []);
};

dictionary <dfn>MessageEventInit</dfn> : <span>EventInit</span> {
Expand Down

0 comments on commit f9fac95

Please sign in to comment.