mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:07:36 +00:00
LibWeb: Add ports attribute to MessageEvent and MessageEventInit
Still some FIXMEs left though, as the IDL generator doesn't know what a FrozenArray is, nor how to properly create a sequence of a Platform Object.
This commit is contained in:
parent
e464d484c4
commit
73697058b0
3 changed files with 21 additions and 0 deletions
|
@ -14,6 +14,7 @@ interface MessageEvent : Event {
|
|||
readonly attribute DOMString lastEventId;
|
||||
readonly attribute MessageEventSource? source;
|
||||
// FIXME: readonly attribute FrozenArray<MessagePort> ports;
|
||||
readonly attribute any ports;
|
||||
};
|
||||
|
||||
dictionary MessageEventInit : EventInit {
|
||||
|
@ -22,4 +23,5 @@ dictionary MessageEventInit : EventInit {
|
|||
DOMString lastEventId = "";
|
||||
MessageEventSource? source = null;
|
||||
// FIXME: sequence<MessagePort> ports = [];
|
||||
sequence<object> ports = [];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue