expose bareClient in __uv

for extending the uv handler or testing
This commit is contained in:
David Reed 2023-06-08 16:30:15 -04:00
parent 1192a624ae
commit 56bf6fc6b8
No known key found for this signature in database
GPG key ID: 2211691D8A1EE72F

View file

@ -111,6 +111,8 @@ function __uvHook(window) {
// websockets
const bareClient = new Ultraviolet.BareClient(__uv$bareURL, __uv$bareData);
__uv.bareClient = bareClient;
if (__uv.location.href === 'about:srcdoc') {
__uv.meta = window.parent.__uv.meta;
}