mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +00:00
LibWeb: Default initialize strings in MessageEventInit
This commit is contained in:
parent
1607b2c978
commit
464cc55b16
Notes:
sideshowbarker
2024-07-16 22:14:49 +09:00
Author: https://github.com/Lubrsi
Commit: 464cc55b16
Pull-request: https://github.com/SerenityOS/serenity/pull/21823
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/shannonbooth
Reviewed-by: https://github.com/trflynn89
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 {
|
||||
JS::Value data { JS::js_null() };
|
||||
String origin;
|
||||
String last_event_id;
|
||||
String origin {};
|
||||
String last_event_id {};
|
||||
Optional<MessageEventSource> source;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue