mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 09:12:13 -05:00
LibWeb: Revert addition of VERIFY call to isomorphic-decode
This commit is contained in:
parent
a6f04506e4
commit
a4abb35776
Notes:
github-actions[bot]
2025-01-03 16:12:30 +00:00
Author: https://github.com/Gingeh Commit: https://github.com/LadybirdBrowser/ladybird/commit/a4abb357766 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3108 Reviewed-by: https://github.com/awesomekling
1 changed files with 3 additions and 1 deletions
|
@ -152,7 +152,9 @@ ByteBuffer isomorphic_encode(StringView input)
|
|||
// NOTE: This is essentially spec-speak for "Encode as ISO-8859-1 / Latin-1".
|
||||
ByteBuffer buf = {};
|
||||
for (auto code_point : Utf8View { input }) {
|
||||
VERIFY(code_point <= 0xFF);
|
||||
// VERIFY(code_point <= 0xFF);
|
||||
if (code_point > 0xFF)
|
||||
dbgln("FIXME: Trying to isomorphic encode a string with code points > U+00FF.");
|
||||
buf.append((u8)code_point);
|
||||
}
|
||||
return buf;
|
||||
|
|
Loading…
Reference in a new issue