David Reed
1b35d03f6c
catch uvHook failure, use window.websocket
2022-11-20 01:48:43 -05:00
David Reed
4c6c652fe2
cleanup injection, pass important properties to iframe
2022-11-20 01:38:57 -05:00
David Reed
ff527d9732
fix undefined
2022-11-20 01:28:51 -05:00
David Reed
ad0de820ef
protect WebSocket methods
2022-11-19 18:18:49 -05:00
David Reed
ff8708438e
fixes, install beta client
2022-11-19 17:44:47 -05:00
David Reed
32439bff19
cleanup websocket code
...
There should be less obvious leaks
WebSocket methods aren't hidden
2022-11-19 17:35:09 -05:00
David Reed
ca284dad3b
directly pass protocol
2022-11-18 21:28:46 -05:00
David Reed
57a26473aa
simply ignore the protocol
2022-11-18 21:19:35 -05:00
David Reed
b7249e5819
WebSocket support
...
What I did:
- juggle the bare client data between the page and SW
- mock the WebSocket class to perform async ops
There are still bugs:
- new WebSocket().constructor is the mock class
- eventTarget() feels very stomp-like
2022-11-18 21:11:51 -05:00
David Reed
5fc685aade
remove unused async
2022-11-18 20:32:00 -05:00
David Reed
8f999e7236
prettier
2022-11-18 20:00:58 -05:00
David Reed
7b739260f0
remove async from handler, explicitly expose __uvHook
2022-09-15 17:14:19 -04:00
David Reed
471f591ab0
import core scripts from ultraviolet-core
2022-09-15 17:12:58 -04:00