Skip to content

Commit

Permalink
Align remaining classes with new IDL constructor syntax
Browse files Browse the repository at this point in the history
Closes whatwg#5189.
  • Loading branch information
annevk authored and domenic committed Jun 5, 2020
1 parent db2ce7e commit 63e5e42
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -37501,9 +37501,10 @@ interface <dfn>TimeRanges</dfn> {

<h5>The <code>TrackEvent</code> interface</h5>

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

readonly attribute (<span>VideoTrack</span> or <span>AudioTrack</span> or <span>TextTrack</span>)? <span data-x="dom-TrackEvent-track">track</span>;
};

Expand Down Expand Up @@ -75305,9 +75306,10 @@ callback <dfn>FunctionObjectCallback</dfn> = void (any data);--></code></pre>
<p>The drag-and-drop processing model involves several events. They all use the
<code>DragEvent</code> interface.</p>

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

readonly attribute <span>DataTransfer</span>? <span data-x="dom-DragEvent-dataTransfer">dataTransfer</span>;
};

Expand Down Expand Up @@ -83214,9 +83216,10 @@ new PaymentRequest(&hellip;); // Allowed to use

<h5>The <code>PopStateEvent</code> interface</h5>

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

readonly attribute any <span data-x="dom-PopStateEvent-state">state</span>;
};

Expand Down Expand Up @@ -83246,9 +83249,10 @@ dictionary <dfn>PopStateEventInit</dfn> : <span>EventInit</span> {

<h5>The <code>HashChangeEvent</code> interface</h5>

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

readonly attribute USVString <span data-x="dom-HashChangeEvent-oldURL">oldURL</span>;
readonly attribute USVString <span data-x="dom-HashChangeEvent-newURL">newURL</span>;
};
Expand Down Expand Up @@ -83291,9 +83295,10 @@ dictionary <dfn>HashChangeEventInit</dfn> : <span>EventInit</span> {

<h5>The <code>PageTransitionEvent</code> interface</h5>

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

readonly attribute boolean <span data-x="dom-PageTransitionEvent-persisted">persisted</span>;
};

Expand Down Expand Up @@ -96526,8 +96531,10 @@ function handleMessage(event) {

<h4>Message channels</h4>

<pre><code class="idl" data-x="">[<span data-x="dom-MessageChannel">Constructor</span>, Exposed=(Window,Worker)]
<pre><code class="idl" data-x="">[Exposed=(Window,Worker)]
interface <dfn>MessageChannel</dfn> {
<span data-x="dom-MessageChannel">constructor</span>();

readonly attribute <span>MessagePort</span> <span data-x="dom-MessageChannel-port1">port1</span>;
readonly attribute <span>MessagePort</span> <span data-x="dom-MessageChannel-port2">port2</span>;
};</code></pre>
Expand Down Expand Up @@ -99433,9 +99440,10 @@ interface <dfn>Storage</dfn> {

<h5>The <code>StorageEvent</code> interface</h5>

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

readonly attribute DOMString? <span data-x="dom-StorageEvent-key">key</span>;
readonly attribute DOMString? <span data-x="dom-StorageEvent-oldValue">oldValue</span>;
readonly attribute DOMString? <span data-x="dom-StorageEvent-newValue">newValue</span>;
Expand Down Expand Up @@ -121214,6 +121222,7 @@ INSERT INTERFACES HERE
Evan Stade,
Evert,
Evgeny Kapun,
ExE-Boss, <!-- GitHub -->
Ezequiel Garz&oacute;n,
fantasai,
Félix Sanz,
Expand Down

0 comments on commit 63e5e42

Please sign in to comment.