This is a testharness.js-based test. PASS Cache.add called with no arguments PASS FAIL Cache.add called with relative URL specified as a string promise_test: Unhandled rejection with value: object "TypeError: Add/AddAll does not support schemes other than "http" or "https"" PASS Cache.add called with non-HTTP/HTTPS URL PASS FAIL Cache.add called with Request object promise_test: Unhandled rejection with value: object "TypeError: Add/AddAll does not support schemes other than "http" or "https"" PASS Cache.add called with POST request PASS FAIL Cache.add called twice with the same Request object PASS promise_test: Unhandled rejection with value: object "TypeError: Add/AddAll does not support schemes other than "http" or "https"" FAIL Cache.add with request with null body (not consumed) promise_test: Unhandled rejection with value: object "TypeError: Add/AddAll does not support schemes other than "http" or "https"" PASS Cache.add with request that results in a status of 404 PASS Cache.add with request that results in a status of 500 PASS Cache.addAll with no arguments PASS Cache.addAll with a mix of valid and undefined arguments PASS Cache.addAll with an empty array PASS FAIL Cache.addAll with string URL arguments PASS promise_test: Unhandled rejection with value: object "TypeError: Add/AddAll does not support schemes other than "http" or "https"" FAIL Cache.addAll with Request arguments promise_test: Unhandled rejection with value: object "TypeError: Add/AddAll does not support schemes other than "http" or "https"" PASS Cache.addAll with a mix of succeeding and failing requests FAIL Cache.addAll called with the same Request object specified twice promise_test: Unhandled rejection with value: "assert_promise_rejects: assert_throws: Cache.addAll should throw InvalidStateError if the same request is added twice. Promise did function "function () { throw e }" threw object "TypeError: Add/AddAll does not support schemes other than "http" or "https"" that is not reject." a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 Harness: the test ran to completion.