Web Workers have access to IndexedDB. This seems useful for state management solutions that don’t want to block the UI thread
Unfortunately, web workers can’t access the history object, according to the first link above.
This proposal is to give web workers access to history, for similar reasons.
The history API is tied to a specific web page context. For the same reasons that workers cannot access the DOM or the page’s location, I don’t think workers should be able to inspect or manipulate the navigation stack of a page from another thread.
That makes sense, thanks for the explanation.