Skip to content

Commit

Permalink
Editorial: make the FormDataEvent constructor's argument required
Browse files Browse the repository at this point in the history
It already was, effectively, since it had a required member, but this is
more explicit.

Fixes #5064. Also fixes the constructor syntax per #4870.
  • Loading branch information
TimvdLippe authored and domenic committed Nov 18, 2019
1 parent bcd5d61 commit c189722
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -57117,9 +57117,10 @@ dictionary <dfn>SubmitEventInit</dfn> : <span>EventInit</span> {

<h5>The <code>FormDataEvent</code> interface</h5>

<pre><code class="idl" data-x="">[Exposed=Window,
Constructor(DOMString type, optional <span>FormDataEventInit</span> eventInitDict = {})]
<pre><code class="idl" data-x="">[Exposed=Window]
interface <dfn>FormDataEvent</dfn> : <span>Event</span> {
constructor(DOMString type, <span>FormDataEventInit</span> eventInitDict);

readonly attribute <span>FormData</span> <span data-x="dom-FormDataEvent-formData">formData</span>;
};

Expand Down

0 comments on commit c189722

Please sign in to comment.