title: Chrome extension's service worker not starting on event
body: <p>I am creating an extension using manifest V3 with a service worker that is set to listen for &quot;webRequest.onBeforeRequest&quot;
  <code>chrome.webRequest.onBeforeRequest.addListener(function(requestDetails) { . . . }, { urls: ['&lt;all_urls&gt;'] }, ['requestBody']);</code></p>
  <p>On my personal machine (windows), the extension works as expected and the service worker starts whenever there is a web request in any of the tabs.</p>
  <p>However, on our work machines (mac), the web requests do not automatically start the service worker. If I manually start it, it receives the events and functions properly, but as soon as it is stopped due to being idle, it does not re-start on the next web request. If I go to &quot;chrome://serviceworker-internals/&quot;, I can see that the service worker is still registered, but is stopped.</p>
  <p>My only way of keep the extension functioning has been to keep the developer tools page for the service worker open (via inspecting it), so that it continues to work by simply never stopping.</p>
  <p>Is there something specific that I need to to do for mac OS or are there any settings or policies that can limit what events a stopped service-worker can listen for?</p>