[service-workers-tests] Fix cache-add.https.html to expect InvalidStateError when overlapping Re... (#1785)

...quests are passed. (gecko bug 1158263)

The spec says:

  3.If the result of running Query Cache algorithm passing operation.request,
    operation.options, and addedRecords as the arguments is not an empty array,
    then:
    1. Throw an "InvalidStateError" exception.

>From step 2.3.2.3.1:

  https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#batch-cache-operations-algorithm

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

Received on Tuesday, 28 April 2015 14:30:59 UTC