mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 17:37:00 +02:00
USVString is defined in the IDL spec as: > The USVString type corresponds to scalar value strings. Depending on > the context, these can be treated as sequences of either 16-bit > unsigned integer code units or scalar values. This means we need to account for surrogate code points by using the replacement character. This fixes the last test in https://wpt.live/url/url-constructor.any.html (cherry picked from commit aa32bfa4481f6298c99846025394b7bc415ca621)