Skip to content

Commit 8d2829a

Browse files
authored
Editorial: minor editorial fixes to storage broadcast and remove
The remove steps do not return anything, so we do not need to return null. Additionally, the url attribute of StorageEvent is a USVString, so let's initialize the event with the serialization of URL for clarity.
1 parent 8e95516 commit 8d2829a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122913,7 +122913,8 @@ interface <dfn interface>Storage</dfn> {
122913122913
<ol>
122914122914
<li><p>Let <var>thisDocument</var> be <var>storage</var>'s <span>relevant global object</span>'s <span data-x="concept-document-window">associated <code>Document</code></span>.</p></li>
122915122915

122916-
<li><p>Let <var>url</var> be <var>thisDocument</var>'s <span data-x="concept-document-url">URL</span>.</p></li>
122916+
<li><p>Let <var>url</var> be the <span data-x="concept-url-serializer">serialization</span> of
122917+
<var>thisDocument</var>'s <span data-x="concept-document-url">URL</span>.</p></li>
122917122918

122918122919
<li>
122919122920
<p>Let <var>remoteStorages</var> be all <code>Storage</code> objects excluding
@@ -123032,7 +123033,7 @@ interface <dfn interface>Storage</dfn> {
123032123033

123033123034
<ol>
123034123035
<li><p>If <span>this</span>'s <span data-x="concept-Storage-map">map</span>[<var>key</var>] does
123035-
not <span data-x="map exists">exist</span>, then return null.</p></li>
123036+
not <span data-x="map exists">exist</span>, then return.</p></li>
123036123037

123037123038
<li><p>Set <var>oldValue</var> to <span>this</span>'s <span
123038123039
data-x="concept-Storage-map">map</span>[<var>key</var>].</p></li>

0 commit comments

Comments
 (0)