1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00

LibWeb: Add the lastEventId IDL attribute to MessageEvent

This commit is contained in:
Idan Horowitz 2021-10-01 18:30:30 +03:00 committed by Andreas Kling
parent b53fc8ad3d
commit 9863de4609
Notes: sideshowbarker 2024-07-18 03:14:22 +09:00
2 changed files with 5 additions and 1 deletions

View file

@ -23,6 +23,7 @@ public:
JS::Value data() const { return m_data; }
String const& origin() const { return m_origin; }
String const& last_event_id() const { return m_last_event_id; }
protected:
MessageEvent(const FlyString& event_name, JS::Value data, String origin)
@ -34,6 +35,7 @@ protected:
JS::Value m_data;
String m_origin;
String m_last_event_id;
};
}