Re: [w3c/ServiceWorker] Skip executing fetch handlers if it is no-op. (PR #1672)

I suspect that event handlers might be tricky here as while an event handler can be considered empty, the event listener it ends up adding won't be (as it wraps the function). Perhaps this can be addressed by poking at HTML's event handler map. Gets a little hairy though.

Might be good to get some advice from @domenic and possibly some JS folks.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1672#issuecomment-1434357671
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/pull/1672/c1434357671@github.com>

Received on Friday, 17 February 2023 09:16:35 UTC