Permalink
Browse files

Add initStorageEvent()

  • Loading branch information...
foolip committed Oct 3, 2018
1 parent 6fbb7ff commit 18ca10633ffbcbe2a95dd1d42dfb04c798cc5700
Showing with 8 additions and 1 deletion.
  1. +8 −1 source
View
9 source
@@ -93990,7 +93990,7 @@ typedef (<span>WindowProxy</span> or <span>MessagePort</span> or <span>ServiceWo
value it was initialized to. It represents, in <span>cross-document messaging</span> and
<span>channel messaging</span>, the <code>MessagePort</code> array being sent.</p>
<!-- handwave this one since it's deprecated anyway... let me know if there's interop issues -->
<!-- handwavy, file bugs if there are interop issues -->
<p>The <dfn><code data-x="dom-MessageEvent-initMessageEvent">initMessageEvent()</code></dfn>
method must initialize the event in a manner analogous to the similarly-named <code
data-x="dom-Event-initEvent">initEvent()</code> method. <ref spec=DOM></p>
@@ -99158,6 +99158,8 @@ interface <dfn>StorageEvent</dfn> : <span>Event</span> {
readonly attribute DOMString? <span data-x="dom-StorageEvent-newValue">newValue</span>;
readonly attribute USVString <span data-x="dom-StorageEvent-url">url</span>;
readonly attribute <span>Storage</span>? <span data-x="dom-StorageEvent-storageArea">storageArea</span>;
void <span data-x="dom-StorageEvent-initStorageEvent">initStorageEvent</span>(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional DOMString? key = null, optional DOMString? oldValue = null, optional DOMString? newValue = null, optional USVString url = "", optional Storage? storageArea = null);
};
dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
@@ -99211,6 +99213,11 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
data-x="dom-StorageEvent-storageArea">storageArea</code></dfn> attributes must return the values
they were initialized to.</p>
<!-- handwavy, file bugs if there are interop issues -->
<p>The <dfn><code data-x="dom-StorageEvent-initStorageEvent">initStorageEvent()</code></dfn>
method must initialize the event in a manner analogous to the similarly-named <code
data-x="dom-Event-initEvent">initEvent()</code> method. <ref spec=DOM></p>
</div>

0 comments on commit 18ca106

Please sign in to comment.