ladybird/Userland/Libraries/LibWeb/DOMURL
Shannon Booth 1ba6dbd86c LibWeb: Use a stable sort for searching URLSearchParams
Quick sort is not a stable sort. This meant we had a subtle issue
implementing this portion of the spec comment:

 > The relative order between name-value pairs with equal names must
 > be preserved.

Switch to insertion sort which is a stable sort, and properly handles
keys which are the same.

Fixes 8 tests on  https://wpt.live/url/urlsearchparams-sort.any.html
2024-08-12 23:01:29 +01:00
..
DOMURL.cpp LibWeb: Don't propogate small OOMs from URLSearchParams 2024-08-12 23:01:29 +01:00
DOMURL.h LibWeb: Don't propogate small OOMs from URLSearchParams 2024-08-12 23:01:29 +01:00
DOMURL.idl LibWeb: Implement URL.parse 2024-05-13 09:21:12 +02:00
URLSearchParams.cpp LibWeb: Use a stable sort for searching URLSearchParams 2024-08-12 23:01:29 +01:00
URLSearchParams.h LibWeb: Don't propogate small OOMs from URLSearchParams 2024-08-12 23:01:29 +01:00
URLSearchParams.idl LibWeb: Implement value argument of URLSearchParams.has 2024-08-12 23:01:29 +01:00
URLSearchParamsIterator.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
URLSearchParamsIterator.h