From e5436ce5935895e0d16be57261642f9313b94f15 Mon Sep 17 00:00:00 2001 From: Shannon Booth Date: Sun, 15 Dec 2024 13:15:30 +1300 Subject: [PATCH] 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. --- Libraries/LibWeb/HTML/ErrorEvent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibWeb/HTML/ErrorEvent.h b/Libraries/LibWeb/HTML/ErrorEvent.h index 50c6a691924a..59a87f962379 100644 --- a/Libraries/LibWeb/HTML/ErrorEvent.h +++ b/Libraries/LibWeb/HTML/ErrorEvent.h @@ -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() };