[whatwg/fetch] Make sure all responses have a URL list (#322)

In #146 I tried to let service worker responses that were not synthetic
to keep their url list. However, the way I fixed that regressed url
lists for a number of responses: HTTP cache responses, about URL
responses, etc.

This fix instead tries to keep the old setup and only overwrites the
url list of a response if it’s empty.

Fixes #312.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/322

-- Commit Summary --

  * Make sure all responses have a URL list

-- File Changes --

    M Overview.html (21)
    M Overview.src.html (19)

-- Patch Links --

https://github.com/whatwg/fetch/pull/322.patch
https://github.com/whatwg/fetch/pull/322.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/322

Received on Thursday, 9 June 2016 08:50:30 UTC