diff --git a/mascara/src/proxy.js b/mascara/src/proxy.js index 8d91e4553..5ead75f94 100644 --- a/mascara/src/proxy.js +++ b/mascara/src/proxy.js @@ -9,12 +9,7 @@ const background = new SWcontroller({ letBeIdle: false, intervalDelay, }) -window.onfocus = () => { - background.sendMessage('wakeUp') - .catch((err) => { - console.error('problem with wake up', err) - }) -} + const pageStream = new ParentStream() background.on('ready', (_) => { let swStream = SwStream({