Skip to content
  • shimazu's avatar
    ServiceWorker: Bypass SW when the script doesn't have fetch handler · 8a5ede2a
    shimazu authored
    When the script doesn't have a fetch handler, a request
    will immediately go to the network after passed to SW in current implementation.
    However, if SW is down, this procedure will wait for waking SW up though SW
    doesn't have fetch handler. This patch enables the request to directly go to
    network bypassing SW in this situation.
    
    BUG=605844
    TEST=/out/Release/content_unittest --gtest_filter="ServiceWorkerControlleeRequestHandlerTest.FallbackWithNoFetchHandler"
    
    Review-Url: https://codereview.chromium.org/2019613003
    Cr-Commit-Position: refs/heads/master@{#396787}
    8a5ede2a