Endpoint(s) does not work from a WebWorker

Vaadin 24.7.10 Flow+Hilla

Reference to window is undefined error.

What it appears to be is the Vaadin widget in the bottom right, connection, related, which is unfortunate.

SEE:

Pull request seems to be exactly related. Also the Connextion Indicator?

PWA / service worker support improvements · Issue #2814 · vaadin/hilla · GitHub open issue still.

it says service worker, but it is the same issue for a regular worker.

Another issue but closed, not to me and what I am seeing.

Those changes were introduced in version 24.8 so you will have to upgrade. The changes were mainly intended for Service Workers. I don’t remember if we also tested with regular Workers but the same changes should at least in theory apply for both environments.