LibWeb/HTML: Remove uneeded FIXME about use of USVString

An AK::String works fine for a USVString as a USVString is just a more
strict version of DOMString. Maybe we will have a different String type
for it in the future, but for now using an AK::String is fine and we do
not need this FIXME.
This commit is contained in:
Shannon Booth 2024-12-15 13:15:30 +13:00 committed by Tim Flynn
parent a5bdc56063
commit e5436ce593
Notes: github-actions[bot] 2024-12-16 13:03:58 +00:00

View file

@ -14,7 +14,7 @@ namespace Web::HTML {
// https://html.spec.whatwg.org/multipage/webappapis.html#erroreventinit
struct ErrorEventInit : public DOM::EventInit {
String message;
String filename; // FIXME: This should be a USVString.
String filename;
u32 lineno { 0 };
u32 colno { 0 };
JS::Value error { JS::js_null() };