[service-workers-tests] Cache should throw TypeError on VARY:* Responses. (gecko bug 1158292) (#1787)

For example:

  5. If response's associated response's header list contains a header named
     `Vary`, then:
    1. Let varyHeaders be the array containing the elements corresponding to the
       field-values of the Vary header.
    2. For each f in varyHeaders:
      1. If f matches "*", return a promise rejected with a TypeError.

From:

  https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#cache-put

View on GitHub: https://github.com/w3c/web-platform-tests/pull/1787

Received on Tuesday, 28 April 2015 17:04:25 UTC