S13nSW: Skip service worker when no fetch handler
When a controller doesn't have fetch event handlers we should not route requests to ServiceWorkerSubresourceLoader for no fetch optimization. Bypass ServiceWorkerSubresourceLoader when there is no ControllerServiceWorker. This works because ControllerServiceWorker is set only when the controller has fetch event handlers. Bug: 847322 Change-Id: I6e76a415b5b3c9156bce8676a79312c09307595c Reviewed-on: https://chromium-review.googlesource.com/1096584 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#567090}
Showing
Please register or sign in to comment