[ServiceWorker] Treat the rejected result of onFetch event as a Network Error.
In current code the rejected result of onFetch event is treated as 500 respose. But it should be treated as a Network Error. Step1: [ServiceWorker] Remove the test for the rejected result of FetchEvent from fetch-event.html https://codereview.chromium.org/588993002/ Step2: this patch [ServiceWorker] Treat the rejected result of onFetch as a Network Error. https://codereview.chromium.org/590043002/ Step3: [ServiceWorker] Add test for the rejected result of FetchEvent using XHR. https://codereview.chromium.org/588093003/ BUG=411173 Review URL: https://codereview.chromium.org/590043002 Cr-Commit-Position: refs/heads/master@{#296080}
Showing
Please register or sign in to comment