diff options
author | DexesTTP <dexes.ttp@gmail.com> | 2021-04-24 13:54:24 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-25 19:04:34 +0200 |
commit | 22413ef729ffe995c5ef3a9f8fb69567ed913980 (patch) | |
tree | 5c8c539ea68d32b18d3db961a2912879e8361d03 /Userland/Libraries/LibWeb/HTML/MessageEvent.idl | |
parent | 68bfb46a6fef9aa1b6617382ae4cf10042658e26 (diff) | |
download | serenity-22413ef729ffe995c5ef3a9f8fb69567ed913980.zip |
LibWeb: Add WebSocket bindings
The WebSocket bindings match the original specification from the
WHATWG living standard, but do not match the later update of the
standard that involves FETCH. The FETCH update will be handled later
since the changes would also affect XMLHttpRequest.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/MessageEvent.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/MessageEvent.idl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/MessageEvent.idl b/Userland/Libraries/LibWeb/HTML/MessageEvent.idl new file mode 100644 index 0000000000..25ff644fdd --- /dev/null +++ b/Userland/Libraries/LibWeb/HTML/MessageEvent.idl @@ -0,0 +1,7 @@ +interface MessageEvent : Event { + + // FIXME: This should be of type "any" instead of "USVString" + readonly attribute USVString data; + readonly attribute USVString origin; + +}; |