This test will write every second until it has written it times to test wheter or not
We need to try and keep the service worker alive. Simply passing a stream over won't need keep alive techniques
Make sure you don't have the developer tool open b/c it can prevent service
worker from restarting
Using Transfariable ReadableStream
Using MessageChannel as stream (postMessage)
Using techniques (postMessage or fetch) to keep sw alive
Using a secure web context
Using hidden iframe to download
Using popup to install sw
Using "location.href" to download`
Using cross origin service worker