angler-fishThe Vulnerability History Project

[CSP] Don't check the path component of the URL when the response was fetched via ServiceWorker.

      In ResourceFetcher::didReceiveResponse() we check the response URL when the response is fetched via ServiceWorker.
But the match algorithm should ignore the path component of the URL.

BUG=542060

Review URL: https://codereview.chromium.org/1454003003

Cr-Commit-Position: refs/heads/master@{#360733}
    
commit 114b8b13ab4fd5c83eb42986946b0051fdd10127
+1
+18 -98
+71 -9
-1
+3 -3
+6 -16
+1 -3
expand_less