Skip to content

Commit a4abb35

Browse files
Gingehawesomekling
authored andcommitted
LibWeb: Revert addition of VERIFY call to isomorphic-decode
1 parent a6f0450 commit a4abb35

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Libraries/LibWeb/Infra/Strings.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ ByteBuffer isomorphic_encode(StringView input)
152152
// NOTE: This is essentially spec-speak for "Encode as ISO-8859-1 / Latin-1".
153153
ByteBuffer buf = {};
154154
for (auto code_point : Utf8View { input }) {
155-
VERIFY(code_point <= 0xFF);
155+
// VERIFY(code_point <= 0xFF);
156+
if (code_point > 0xFF)
157+
dbgln("FIXME: Trying to isomorphic encode a string with code points > U+00FF.");
156158
buf.append((u8)code_point);
157159
}
158160
return buf;

0 commit comments

Comments
 (0)