JS Infinite Loop in WebWorker will not freeze the page. But it will freeze the page when the user closes the page.