1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:37:36 +00:00

LibWeb: Migrate WebSockets::WebSocket to String

This commit is contained in:
Kenneth Myhra 2023-06-17 09:18:55 +02:00 committed by Andreas Kling
parent c03c0ec900
commit 57626c4f9a
3 changed files with 38 additions and 35 deletions

View file

@ -2,7 +2,7 @@
#import <DOM/EventHandler.idl>
// https://websockets.spec.whatwg.org/#websocket
[Exposed=(Window,Worker)]
[Exposed=(Window,Worker), UseNewAKString]
interface WebSocket : EventTarget {
constructor(USVString url, optional (DOMString or sequence<DOMString>) protocols);