1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

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
parent 1607b2c978
commit 464cc55b16

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;
};