• Tsuyoshi Horo's avatar
    Skip other interceptors after SignedExchangeRequestHandler started handling the request · 0fd45315
    Tsuyoshi Horo authored
    Currently when both service-worker-servicification and network-service are not
    enabled, the internally redirected request doesn't go to the service worker.
    But when service-worker-servicification or network-service is enabled, the
    internally redirected request goes to the service worker.
    
    We may support service worker integration, like FetchEvent's preloadResponse in
    future. But we don't have plan to support service worker integration without
    service-worker-servicification.
    
    To make this behavior consistent, this CL makes
    NavigationURLLoaderImpl::URLLoaderRequestController skip sending the redirected
    request of signed exchange to the service worker.
    
    Bug: 894755
    Change-Id: I6f22819655169b4d3c30de0aa269911111c45586
    Reviewed-on: https://chromium-review.googlesource.com/c/1278433Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
    Reviewed-by: default avatarKouhei Ueno <kouhei@chromium.org>
    Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#599815}
    0fd45315
navigation_url_loader_impl.cc 80.9 KB