Re: [ServiceWorker] Changing Request and fetch() (#625)

If `fetch(req)` no longer clones, `fetch(req, options)` needs to mutate `req`. This would then be different from `new Request(req, options)`, which creates a copy by definition. This would be an observable change.

(We should probably also fix the definition of `new Request(req, options)` to not mess up `req` if the operation ends up throwing. Would be nice if failure didn't result in side effects.)

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/625#issuecomment-74528629

Received on Monday, 16 February 2015 15:52:04 UTC