Description[CacheStorage] Make CacheStorage::MatchAllCaches return in order
MatchAllCaches needs to return the response in order of cache
creation. So if cache A was created before cache B, and they both have
an entry for request Z, then cache A's response for Z should be
returned.
Previously, the caches raced and the first to find an entry was
returned.
BUG=568096
Committed: https://crrev.com/a93559cf4b3891e1b03bd93f3e91bbf8b9b993c4
Cr-Commit-Position: refs/heads/master@{#383599}
Patch Set 1 #Patch Set 2 : Fixes #Patch Set 3 : Nit #Patch Set 4 : Add layout test #
Total comments: 4
Patch Set 5 : Fix layout test #Messages
Total messages: 14 (6 generated)
|