mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +00:00
LibWeb: Use infra sorting for URLSearchParam's sort()
Adopts editiorial change to the URL spec of:
59979a1
This commit is contained in:
parent
74334ea1ce
commit
b478274e0b
Notes:
github-actions[bot]
2025-05-12 09:21:34 +00:00
Author: https://github.com/shannonbooth
Commit: b478274e0b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4702
Reviewed-by: https://github.com/gmta ✅
2 changed files with 5 additions and 13 deletions
|
@ -150,6 +150,8 @@ String isomorphic_decode(ReadonlyBytes input)
|
|||
// https://infra.spec.whatwg.org/#code-unit-less-than
|
||||
bool code_unit_less_than(StringView a, StringView b)
|
||||
{
|
||||
// FIXME: There should be a way to do this without converting to utf16
|
||||
|
||||
// 1. If b is a code unit prefix of a, then return false.
|
||||
if (is_code_unit_prefix(b, a))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue