--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/fc9e2850-d7ea-4b11-924c-e3eabbfb97c0n%40chromium.org.
The wake-up is implemented by addListener remembering the event names and their filters (e.g. in webRequest of webNavigation) in the internal database of the browser process, which happens every time the background script runs (but only in the first turn of the event loop). When an event matching the criteria occurs in the browser, the browser starts the extension's background script and the above cycle repeats.
so the event handlers are not removed when the service worker becomes inactive?