mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
LibWeb: Add the lastEventId IDL attribute to MessageEvent
This commit is contained in:
committed by
Andreas Kling
parent
b53fc8ad3d
commit
9863de4609
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user