Skip to content

Commit

Permalink
searchParams does not need to be nullable. https://www.w3.org/Bugs/Pu…
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Mar 19, 2014
1 parent 4ba631a commit 3069fa4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
14 changes: 5 additions & 9 deletions url.html
Expand Up @@ -7,7 +7,7 @@

<p><a class="logo" href="//www.whatwg.org/"><img alt="WHATWG" height="100" src="//resources.whatwg.org/logo-url.svg" width="100"></a></p>
<h1>URL</h1>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-3-february-2014">Living Standard — Last Updated 3 February 2014</h2>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-19-march-2014">Living Standard — Last Updated 19 March 2014</h2>

<dl>
<dt>This Version:
Expand Down Expand Up @@ -35,7 +35,7 @@ <h2 class="no-num no-toc" id="living-standard-—-last-updated-3-february-2014">
<p class="copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
To the extent possible under law, the editors have waived all copyright and
related or neighboring rights to this work. In addition, as of
3 February 2014, the editors have made this specification available
19 March 2014, the editors have made this specification available
under the
<a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
which is available at
Expand Down Expand Up @@ -2006,7 +2006,7 @@ <h2 id="api"><span class="secno">7 </span>API</h2>
attribute [EnsureUTF16] DOMString <a href="#dom-url-port" title="dom-URL-port">port</a>;
attribute [EnsureUTF16] DOMString <a href="#dom-url-pathname" title="dom-URL-pathname">pathname</a>;
attribute [EnsureUTF16] DOMString <a href="#dom-url-search" title="dom-URL-search">search</a>;
attribute <a href="#urlsearchparams">URLSearchParams</a>? <a href="#dom-url-searchparams" title="dom-URL-searchParams">searchParams</a>;
attribute <a href="#urlsearchparams">URLSearchParams</a> <a href="#dom-url-searchparams" title="dom-URL-searchParams">searchParams</a>;
attribute [EnsureUTF16] DOMString <a href="#dom-url-hash" title="dom-URL-hash">hash</a>;
};

Expand All @@ -2023,7 +2023,7 @@ <h2 id="api"><span class="secno">7 </span>API</h2>
readonly attribute DOMString <a href="#dom-url-port" title="dom-URL-port">port</a>;
readonly attribute DOMString <a href="#dom-url-pathname" title="dom-URL-pathname">pathname</a>;
readonly attribute DOMString <a href="#dom-url-search" title="dom-URL-search">search</a>;<!--
readonly attribute <span>URLSearchParams</span>? <span title=dom-URL-searchParams>searchParams</span>;-->
readonly attribute <span>URLSearchParams</span> <span title=dom-URL-searchParams>searchParams</span>;-->
readonly attribute DOMString <a href="#dom-url-hash" title="dom-URL-hash">hash</a>;
};</pre>

Expand Down Expand Up @@ -2532,11 +2532,7 @@ <h3 id="urlutils-and-urlutilsreadonly-members"><span class="secno">7.3 </span><a
<ol>
<li><p>Let <var title="">object</var> be the given value.

<li><p>If <a href="#concept-uu-query-object" title="concept-UU-query-object">query object</a> or
<var title="">object</var> is null, terminate these steps.

<li><p>If <a href="#concept-uu-query-object" title="concept-UU-query-object">query object</a> is non-null, remove
the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a> from
<li><p>Remove the <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a> from
<a href="#concept-uu-query-object" title="concept-UU-query-object">query object</a>'s associated list of
<a href="#concept-uq-url-object" title="concept-UQ-url-object">url objects</a>.

Expand Down
10 changes: 3 additions & 7 deletions url.src.html
Expand Up @@ -1975,7 +1975,7 @@ <h2>API</h2>
attribute [EnsureUTF16] DOMString <span title=dom-URL-port>port</span>;
attribute [EnsureUTF16] DOMString <span title=dom-URL-pathname>pathname</span>;
attribute [EnsureUTF16] DOMString <span title=dom-URL-search>search</span>;
attribute <span>URLSearchParams</span>? <span title=dom-URL-searchParams>searchParams</span>;
attribute <span>URLSearchParams</span> <span title=dom-URL-searchParams>searchParams</span>;
attribute [EnsureUTF16] DOMString <span title=dom-URL-hash>hash</span>;
};

Expand All @@ -1992,7 +1992,7 @@ <h2>API</h2>
readonly attribute DOMString <span title=dom-URL-port>port</span>;
readonly attribute DOMString <span title=dom-URL-pathname>pathname</span>;
readonly attribute DOMString <span title=dom-URL-search>search</span>;<!--
readonly attribute <span>URLSearchParams</span>? <span title=dom-URL-searchParams>searchParams</span>;-->
readonly attribute <span>URLSearchParams</span> <span title=dom-URL-searchParams>searchParams</span>;-->
readonly attribute DOMString <span title=dom-URL-hash>hash</span>;
};</pre>

Expand Down Expand Up @@ -2501,11 +2501,7 @@ <h3><code>URLUtils</code> and <code>URLUtilsReadOnly</code> members</h3>
<ol>
<li><p>Let <var title>object</var> be the given value.

<li><p>If <span title=concept-UU-query-object>query object</span> or
<var title>object</var> is null, terminate these steps.

<li><p>If <span title=concept-UU-query-object>query object</span> is non-null, remove
the <span data-anolis-spec=dom>context object</span> from
<li><p>Remove the <span data-anolis-spec=dom>context object</span> from
<span title=concept-UU-query-object>query object</span>'s associated list of
<span title=concept-UQ-url-object>url objects</span>.

Expand Down

0 comments on commit 3069fa4

Please sign in to comment.