Re: [ServiceWorker] window.fetch (#581)

`Response.type` information is new compared to XHR.

Even in XHR, we could distinguish `error` form the others since `process response` enters `headers received` state when the `response` is not a `network error`.

I seems which `response tainting` was made to the `request` is known to the script.

So, it's just safe to keep `Response.type` available in window?

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

Received on Thursday, 11 December 2014 04:47:32 UTC