mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
LibWeb: Add the lastEventId IDL attribute to MessageEvent
This commit is contained in:
parent
b53fc8ad3d
commit
9863de4609
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue