Re: [whatwg/fetch] 5.6 garbage collection makes GC observable via service worker & resource timing (#810)

Sigh. Gotta love GC.

So once you've observed a fetch through resource timing or service workers, GC for objects associated with that fetch ideally wouldn't happen. For resource timing this seems somewhat doable since it's all in the same agent. Crossing agent cluster boundaries though...

How does detection through service workers work? I can think of two channels:
1. Did it get a fetch event for the fetch.
2. Was the fetch canceled (I'm not entirely sure if we always report canceled fetches, especially those due to GC, through the cancelation API though).

cc @igrigorik @jakearchibald @jungkees @wanderview 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/810#issuecomment-423454868

Received on Friday, 21 September 2018 08:23:50 UTC