This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Since service worker scripts can never be intercepted, there is no way to create a Request object with a context attribute equal to "serviceworker". Perhaps we should remove this enum value?
That is a good point. This might also go for various reports features, such as cspreport.
(In reply to Anne from comment #1) > That is a good point. This might also go for various reports features, such > as cspreport. Yeah, but those should be possible to intercept. But it's hard to tell since those specs are typically not written in terms of fetch. At any rate, I fixed the interception of CSP reports in Gecko, so they should be successfully reflected to the fetch event as a Request with "cspreport" context.
https://github.com/whatwg/fetch/commit/1cc2584d1174b65bd076be3a75b9250016b5c191 See https://github.com/w3c/network-error-logging/issues/54 for further reports discussion.