chromium/third_party/blink/web_tests/http/tests/serviceworker/navigation_preload/resources/navigation-preload-after-gc-worker.js


self.addEventListener('activate', e => {
    e.waitUntil(self.registration.navigationPreload.enable());
  });

self.addEventListener('fetch', e => {
    internals.collectGarbage();
    e.respondWith(new Response("hello"));
  });