This is a testharness.js-based test.
PASS initialize global state
PASS The SW must intercept the request for a main resource.
PASS The SW must intercept the request of same origin XHR.
PASS The SW must intercept the request of CORS-unsupported other origin XHR.
FAIL The SW must intercept the request of CORS-supported other origin XHR. promise_test: Unhandled rejection with value: object "Error"
FAIL The SW must intercept only the first request of redirected XHR. assert_object_equals: property "url" expected object "[object Object]" got object "[object Object]"
PASS The SW must intercept only the first request for XHR which is redirected to CORS-unsupported other origin.
PASS The SW must intercept only the first request for XHR which is redirected to CORS-supported other origin.
PASS The SW must intercept the request for image.
PASS The SW must intercept the request for other origin image.
PASS The SW must intercept the request for CORS-unsupported other origin image.
FAIL The SW must intercept the request for CORS-supported other origin image. promise_test: Unhandled rejection with value: object "Error"
FAIL The SW must intercept only the first request for redirected image resource. assert_object_equals: property "url" expected object "[object Object]" got object "[object Object]"
PASS The SW must intercept only the first request for image resource which is redirected to other origin.
PASS The SW must intercept only the first request for image resource which is redirected to CORS-unsupported other origin.
PASS The SW must intercept only the first request for image resource which is redirected to CORS-supported other origin.
PASS restore global state
Harness: the test ran to completion.

