Dedicated workers and worklets continue to execute even though documents may be frozen due to the page lifecycle.
All threads in a frozen document should be frozen.
Docs: https://github.com/WICG/page-lifecycle/pull/35
Explainers: https://github.com/WICG/page-lifecycle/pull/35