LibWeb: Default initialize strings in MessageEventInit

This commit is contained in:
Luke Wilde 2023-11-06 21:14:31 +00:00 committed by Andreas Kling
commit 464cc55b16
Notes: sideshowbarker 2024-07-16 22:14:49 +09:00

View file

@ -17,8 +17,8 @@ using MessageEventSource = Variant<JS::Handle<WindowProxy>, JS::Handle<MessagePo
struct MessageEventInit : public DOM::EventInit {
JS::Value data { JS::js_null() };
String origin;
String last_event_id;
String origin {};
String last_event_id {};
Optional<MessageEventSource> source;
};