Closed Bug 1158292 Opened 9 years ago Closed 9 years ago

service-workers/cache-storage wpt tests expect to store VARY:* Responses

Categories

(Testing :: web-platform-tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bkelly, Assigned: bkelly)

References

()

Details

There are tests in service-workers/cache-storage that expect to store Responses with a VARY:* header.  The spec now requires this to throw a TypeError.  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
Assignee: nobody → bkelly
Status: NEW → ASSIGNED
Merged from upstream in bug 1161535.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Depends on: 1161535
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.