mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
LibWeb: Default initialize strings in MessageEventInit
This commit is contained in:
parent
1607b2c978
commit
464cc55b16
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ using MessageEventSource = Variant<JS::Handle<WindowProxy>, JS::Handle<MessagePo
|
||||||
|
|
||||||
struct MessageEventInit : public DOM::EventInit {
|
struct MessageEventInit : public DOM::EventInit {
|
||||||
JS::Value data { JS::js_null() };
|
JS::Value data { JS::js_null() };
|
||||||
String origin;
|
String origin {};
|
||||||
String last_event_id;
|
String last_event_id {};
|
||||||
Optional<MessageEventSource> source;
|
Optional<MessageEventSource> source;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue