ladybird/Tests
Shannon Booth ff71d8f2c9 LibURL+LibWeb: Pass a mutable reference URL to URL parser
If given, the spec expects the input URL to be manipulated on the fly
as it is being parsed, and may ignore any errors thrown by the URL
parser.

Previously, we were not exactly following the specs assumption here
which resulted in us needed to make awkward copies of the URL in these
situations.

For most cases this is not an issue. But it does cause problems for
situations where URL parsing would result in a failure (which is
ignored by the caller), and the URL is _partially_ updated
while parsing.

Such a situation can occur when setting the host of an href alongside a
port number which is not valid. It is expected that this situation will
result in the host being updates - but not the port number.

Adjust the URL parser API so that it mutates the URL given (if any), and
adjust the callers accordingly.

Fixes two tests on https://wpt.live/url/url-setters-a-area.window.html
2024-08-13 14:14:34 +02:00
..
AK AK: Define FloatingPointExponentialForm comparator in the AK namespace 2024-08-13 14:11:05 +02:00
ClangPlugins Tests: Update ClangPlugins tests for current clang version 2024-07-25 18:35:57 -06:00
LibAudio Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCompress Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCore Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCrypto LibCrypto: Move some data around earlier in GHash to make it go faster 2024-05-20 08:03:35 +02:00
LibDiff LibDiff: Fix wrong index used when prepending context lines 2023-09-11 12:10:50 +01:00
LibGfx LibGfx+LibWeb: Remove typeface classes for WOFF fonts 2024-07-22 15:05:04 +02:00
LibJS Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
LibMedia Tests: Do not install LibMedia test files 2024-07-25 13:25:09 -06:00
LibRegex LibRegex: Account for extra explicit And/Or in class parser assertion 2024-03-24 08:24:46 +01:00
LibTest Everywhere: Remove LibSQL, SQLServer, and the sql REPL :^) 2024-06-06 11:27:03 -04:00
LibTextCodec LibTextCodec: Implement iso-2022-jp encoder 2024-08-08 17:49:58 +01:00
LibThreading Userland: Add ESCAPING annotations to a bunch of places 2024-05-22 21:55:34 -06:00
LibTLS Revert "LibTLS+Everywhere: Switch to using WolfSSL" 2024-07-06 15:15:34 -06:00
LibTTF LibGfx/OpenType: Ensure Cmap subtable offset is within expected range 2023-11-11 22:20:17 +01:00
LibUnicode LibUnicode: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
LibURL LibURL: Remove unspecified steps in URL file slash parsing state 2024-08-06 07:58:07 +01:00
LibWasm LibWasm: Remove type information from Value 2024-08-07 01:10:20 +02:00
LibWeb LibURL+LibWeb: Pass a mutable reference URL to URL parser 2024-08-13 14:14:34 +02:00
LibWebView LibWebView: Allow data URLs in sanitize_url 2024-06-24 06:31:17 -04:00
LibXML LibXML: Actually append resolved references when parsing content 2023-07-23 16:09:12 +02:00
CMakeLists.txt LibTimeZone: Remove LibTimeZone and TZDB data 2024-06-26 10:14:02 +02:00