With this change, a service worker can no longer respond to a request whose mode is 'same-origin' with a response whose type is 'cors'. This is a security measure added to the Fetch specification via https://github.com/whatwg/fetch/issues/629 and https://github.com/whatwg/fetch/pull/655.
Docs: https://github.com/whatwg/fetch/issues/629 https://github.com/whatwg/fetch/pull/655