- From: James M Snell <notifications@github.com>
- Date: Thu, 12 Jan 2017 10:46:20 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 12 January 2017 18:47:34 UTC
jasnell commented on this pull request. > @@ -2858,10 +2866,19 @@ method, when invoked, must run these steps: <li><p>Run the <a for=URLSearchParams>update steps</a>. </ol> -<p>The -<dfn method for=URLSearchParams><code>has(<var>name</var>)</code></dfn> -method, when invoked, must return true if there is a name-value pair whose name is <var>name</var> -in <a for=URLSearchParams>list</a>, and false otherwise. +<hr> + +<p>The <dfn method for=URLSearchParams><code>sort()</code></dfn> method, when invoked, must run +these steps: + +<ol> + <li><p>Lexicographically sort all name-value pairs, if any, by name, while preserving the relative The [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort) docs for Array.prototype.sort explicitly calls out using "Unicode codepoint order". I'd recommend the same wording here. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/pull/199
Received on Thursday, 12 January 2017 18:47:34 UTC