[ServiceWorker] Cache should sanitize the stored Request in put/add/addAll (#664)

There are some values on the Request object that should not be persisted.  Fetch handles this by sanitizing the input Request.  See step 4 from here:

  https://fetch.spec.whatwg.org/#dom-request

@annevk suggests Cache should have a similar sanitize step.

The attributes I know about that should not be stored are:

* context (Cache should always produce a context of "fetch")
* synchronous flag

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

Received on Friday, 27 March 2015 13:56:49 UTC