Files
serenity/Userland/Libraries/LibWeb/WebSockets/WebSocket.cpp
Tim Ledbetter 7b45d6a6ab LibWeb: Allow WebSockets to be established within workers
Previously, we would crash when attempting to establish a web socket
connection from inside a worker, as we were assuming that the ESO's
global object was a `Window`.

(cherry picked from commit 0c0595bb31db827fc14b5d16b8645bc6aa912d60)
2024-11-10 10:46:01 -05:00

14 KiB